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

Reduce rollback points for MOI to 2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0.0
    • 4.5.0
    • secondary-index
    • None
    • Untriaged
    • Unknown

    Description

      We currently hold 5 rollback points. This originates as a tradeoff between commit interval and rollback period to be covered (~30 seconds). With forestdb, commit interval is not more than 5 seconds for reasonable performance, and so we're holding 5 snapshots. For MOI, the commit interval is 10 minutes – so it makes no sense to hold 5 snapshots. We need to reduce it to 1 snapshot for MOI. (That is: 1 full completed snapshot + 1 partial in-progress snapshot). This will reduce disk usage significantly, and I doubt we'd ever want to rollback more than 10 minutes without an index rebuild being acceptable.

      Attachments

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

        Activity

          People

            sarath Sarath Lakshman
            siri Sriram Melkote (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty