Details
-
Bug
-
Resolution: Fixed
-
Critical
-
6.6.1
-
Untriaged
-
1
-
Unknown
-
KV-Engine Sprint 2021 August, KV-Engine-Sept-21
Description
Spin out of a customer issue where they were seeing redid go backwards.
Thanks to Graham Pople providing a reproduction.
James Lee kindly converted it to "go" version, which I have attached
It performs 3 operations on the same key - "daniel". The operations and rev id is as follows:
standard set
rev_id: 1
majority sync-write delete
rev_id: 2
majority sync-write set
rev_id: 1
(Note the key is "daniel" which corresponds to vbucket 644)
Worth noting that all non-sync operations work as expected e.g.
standard set
rev_id: 1
standard delete
rev_id: 2
standard set
rev_id: 3
Also the following works as expected e.g.
standard set
rev_id: 1
standard delete
rev_id: 2
majority sync-write set
rev_id: 3
However the following breaks
standard set
rev_id: 1
majority sync-write delete
rev_id: 2
standard set
rev_id: 1
So the issue appears to be with sync-write delete
Attachments
Issue Links
- relates to
-
MB-48713 [Ephemeral] Rev id going backwards for SyncWrite add
- Closed
For Gerrit Dashboard: MB-48179 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
160319,3 | MB-48179: [BP] Make SyncDelete update maxDelRevSeqno | mad-hatter | kv_engine | Status: MERGED | +2 | +1 |
160523,2 | MB-48179: Make SyncDelete update maxDelRevSeqno | cheshire-cat | kv_engine | Status: MERGED | +2 | +1 |
160772,1 | Merge commit '4929836cc' into couchbase/master | master | kv_engine | Status: MERGED | +2 | +1 |
161175,2 | MB-48179: Merge branch 'couchbase/mad-hatter' into couchbase/cheshire-cat | cheshire-cat | kv_engine | Status: MERGED | +2 | +1 |
161181,1 | Merge branch 'couchbase/cheshire-cat' into couchbase/master | master | kv_engine | Status: ABANDONED | 0 | 0 |
161234,3 | Merge commit '8b2f1ea7d' into couchbase/master | master | kv_engine | Status: MERGED | +2 | +1 |