Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GOCBC-1493: Update how we assign errors in setting kv durability
Motivation ----------- When we set durability level options on an op after setting the value then we will swallow any transcoding errors as we assign the error value straight into the op manager error, even if that value is nil. Changes ------- Update op manager so that the error is only assigned if it is non-nil after translating to memd. Change-Id: Ieb01b295b6ea1bd82e6459d2b15d1e781270911d Reviewed-on: https://review.couchbase.org/c/gocb/+/198636 Reviewed-by: Dimitris Christodoulou <[email protected]> Tested-by: Charles Dixon <[email protected]>
- Loading branch information