-
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-43055: Ensure ItemPager available is not left set to false
The ItemPager exited early, without scheduling a PagingVisitor, if current memory usage had already dropped below the low watermark by the time the ItemPager task was run. However, this was done _after_ the `available` flag had been set to false. This was an issue, as the flag is only set back to true by `PagingVisitor::complete()` - but no PagingVisitor was scheduled. Fix by exiting before `available` is altered. Change-Id: Iee11632ff95c7f507935098cc4e75ad58b7e160b Reviewed-on: http://review.couchbase.org/c/kv_engine/+/141367 Well-Formed: Build Bot <[email protected]> Tested-by: Build Bot <[email protected]> Reviewed-by: Dave Rigby <[email protected]>
- Loading branch information
Showing
3 changed files
with
94 additions
and
17 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
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