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

Rollback resets dirtyQueueSize but not dirtyQueueAge

    XMLWordPrintable

Details

    • Triaged
    • 1
    • No
    • KV-Engine 2021-Jan

    Description

      Currently when we do a rollback we roll back all unpersisted items and reset the checkpoint manager. When we reset the checkpoint manager we reset the VBucket::dirtyQueueSize but not the VBucket::dirtyQueueAge (and some others). This causes us to then miscount queue_age which is a vBucket/aggregated Bucket level stat that is shown in the UI as an indication of how long everything has taken to be persisted. Due to the way we calculate the stat, the numbers can be off by massive amounts and the returned value can "underflow" giving the indication in the UI that we have accumulated centuries worth of unpersisted mutations.

      Attachments

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

        Activity

          People

            ben.huddleston Ben Huddleston
            ben.huddleston Ben Huddleston
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty