-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MB-52793: Ensure StoredValue::del updates datatype
If a StoredValue is deleted, but does not have a resident value (but _may_ have one on disk, containing xattrs), previously `del` erroneously skipped updating the datatype. This situation has only been observed to occur on replicas, via PassiveStream calling deleteWithMeta for an already deleted item. This may occur when xattrs are removed from a deleted document. See MB for more details. Change-Id: I213cefb3907c4e290c2857c8526477f69a9ce764 Reviewed-on: https://review.couchbase.org/c/kv_engine/+/177197 Well-Formed: Restriction Checker Reviewed-by: Trond Norbye <[email protected]> Tested-by: Build Bot <[email protected]>
- Loading branch information
Showing
4 changed files
with
183 additions
and
6 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
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