-
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-50598: Fix various errors in NexusKVStore scanning
Originally motivated by a segfault that we hit when we find during a NexusKVStore scan that all of the callbacks made by the primary have been purged from the secondary KVStore I wrote some additional tests that pause after every item. These extra tests found various similar errors during scanning where we fail to deal with cases where items are below the purge seqno during a scan and we pause at interesting points in time. In particular I observed errors where the lastReadSeqnos of scans were different, and failures in callbacks when we could not find items. Change-Id: I69c3b9041fe9a39b5e1393115ef02db00fc259dc Reviewed-on: https://review.couchbase.org/c/kv_engine/+/169642 Reviewed-by: Richard de Mellow <richard.demellow@couchbase.com> Tested-by: Build Bot <build@couchbase.com>
- Loading branch information
1 parent
439ae07
commit c76dd75
Showing
2 changed files
with
306 additions
and
58 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
Oops, something went wrong.