Details
-
Improvement
-
Resolution: Fixed
-
Major
-
7.0.2
-
1
-
KV-Engine-Sept-21
Description
Add optimization to start the scan at the persisted completed seqno (seqno of the highest prepare that has been completed) as a completion should have higher seqno. If persistedCompletedSeqno == 0 and we've got this far then I suppose the only item in the default collection is a prepare and we could skip the scan.
First spotted during review here.
Attachments
For Gerrit Dashboard: MB-48096 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
162267,4 | MB-48096: Optimise markLegacyDiskSnapshot() to reduce scanning time[1/2] | master | kv_engine | Status: MERGED | +2 | +1 |
162399,3 | MB-48096: Optimise markLegacyDiskSnapshot() to reduce scanning time[2/2] | master | kv_engine | Status: MERGED | +2 | +1 |