Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't reset cursors if no checkpoint created in CM::createSnapshot
CM::resetCursor repositions cursors at CheckpointList::begin and updates the accounting of cursor in checkpoints after a CheckpointList change. There is no reason for making the call in code paths that don't modify the CheckpointList. The call removed was the only one passing 'resetPersistenceCursor = false' at resetCursor(), so the argument is removed. Change-Id: I987498742426eb4f2b4939faf7c4509194df6783 Reviewed-on: http://review.couchbase.org/c/kv_engine/+/149375 Reviewed-by: James Harrison <james.harrison@couchbase.com> Tested-by: Build Bot <build@couchbase.com>
- Loading branch information
1 parent
7e25ae4
commit 321c221
Showing
2 changed files
with
4 additions
and
9 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