-
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-48716: Make expiry pager config change update task waketime
Recent changes for MB-41403 which ensured the ExpiredItemPager task is not recreated for every config change. However, in doing so, changes to the task sleep time configuration were no longer immediately applied; instead the task had to sleep until it's existing wake time, to then snooze for the newly configured period. Resolve this by calling into ExecutorPool to ensure the wake time used by the pool is directly updated when the config changes. Change-Id: I0620e9884549da631a419064403f75a753835886 Reviewed-on: http://review.couchbase.org/c/kv_engine/+/163008 Tested-by: Build Bot <[email protected]> Reviewed-by: Dave Rigby <[email protected]>
- Loading branch information
Showing
4 changed files
with
83 additions
and
30 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
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