-
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-35297: Evaluate all RangeScan continue limits
The current if/else if block is incorrect and for example means that if both an item + byte limit are enabled, the item limit is the only one checked, and the scan may not end at the expected point. The updated if/else if now checks all limits for each call. Change-Id: Ib606c164aa9060f459ffba75ca4741d94fb3f71c Reviewed-on: https://review.couchbase.org/c/kv_engine/+/179901 Tested-by: Jim Walker <jim@couchbase.com> Reviewed-by: Paolo Cocchi <paolo.cocchi@couchbase.com>
- Loading branch information
1 parent
7debb15
commit 87a72fd
Showing
2 changed files
with
24 additions
and
8 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