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

Make couch-kvstore seqno midpoint rollback optimization configurable

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 7.1.0
    • 7.1.0
    • couchbase-bucket
    • None
    • 1
    • KV-Engine Sprint 2021 August, KV-Engine-Sept-21

    Description

      Related to MB-47604 in which we need rollback to behave the same for both couchstore and magma for the sake of making comparisons between the two.

      This optimization was added in the initial commit adding rollback support under MB-9900. No justification was given for it. In general I wouldn't expect it to have any impact as any customer running for more than a day or two will have run compaction and the rollback headers available will be for at least half of the total seqnos seen. However, as there was no justification for the optimization, simply removing it feels a bit risky, it may negatively impact some use case. As such, make it configurable satisfying the requirement for MB-47604.

      Attachments

        Issue Links

          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:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty