Details
-
Improvement
-
Resolution: Duplicate
-
Major
-
4.6.2, 5.0.0
-
None
Description
Currently cursor dropping is triggered when mem_used for a bucket meets a specific threshold (default 95%).
Policy is here
Default is here
Using % of memory used as a trigger is insufficient. For example with the current threshold, a single checkpoint could occupy all memory up to the HWM, cause a resident ratio of zero and yet still not invoke cursor dropping. Similarly a lower threshold below the HWM would invoke cursor dropping as part of normal behaviour.
This MB is to implement a more sophisticated scheme whereby the size of the checkpoints themselves are taken into account in order to invoke cursor dropping.
Attachments
Issue Links
For Gerrit Dashboard: MB-26494 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
100026,3 | MB-26494: Add stat for items in all checkpoints | master | kv_engine | Status: NEW | 0 | -1 |