-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GOCBC-1008: Convert exists error to cas mismatch for subdoc
Motivation ---------- When applicable we covert full doc DocAlreadyExists errors to CasMismatch. We need to do the same for subdoc mutations i.e. do the conversion when the doc level flags are not set to Add. Changes ------- Update the translateMemdError to convert exists error to cas mismatch for mutatein when the operation is not a doc level Add. Change-Id: I143b91065cc3f968675134f64eff407e8c22fe2f Reviewed-on: http://review.couchbase.org/c/gocbcore/+/140327 Reviewed-by: Brett Lawson <brett19@gmail.com> Tested-by: Charles Dixon <chvckd@gmail.com>
- Loading branch information
Showing
2 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters