Details
-
Bug
-
Resolution: Fixed
-
Major
-
master, 5.5.0, 5.5.2, 5.5.3, 5.5.4, 6.0.0, 6.0.1
-
None
-
Untriaged
-
Yes
Description
The logic in http://review.couchbase.org/#/c/88301/17/engines/ep/src/checkpoint.cc is flawed and can allow a tombstone to be created with
- A delete time in the past, which could be immediately purged causing issues as seen in the linked CBSE.
- A delete time in the future, which allows the tombstone to remain on disk for potentially a long time.
We should be more robust and set the delete-time to be ep_real_time at the point of deletion.
Attachments
Issue Links
- is caused by
-
MB-27457 Tombstones can gravitate to a single expiry date
- Closed
For Gerrit Dashboard: MB-33919 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
108272,2 | MB-33919 | alice | kv_engine | Status: ABANDONED | 0 | -1 |
108393,3 | MB-33919: Generate delete time for newly deleted items | alice | kv_engine | Status: MERGED | +2 | +1 |
109442,3 | Merge 'couchbase/alice' into 'couchbase/master' | master | kv_engine | Status: MERGED | +2 | +1 |