Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-26494

Cursor Dropping - Improve Trigger Policy

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Duplicate
    • Major
    • 6.5.0
    • 4.6.2, 5.0.0
    • couchbase-bucket
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              owend Daniel Owen
              dhaikney David Haikney (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There is 1 open Gerrit change

                  PagerDuty