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

FDB appends duplicate DB headers with no user data breaking GSI compact_upto

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • bug-backlog
    • 4.5.0
    • forestdb
    • None
    • Untriaged
    • No

    Description

      GSI tracks all fdb_commit()s and their corresponding snapshot markers.
      So if during full compaction commit forestdb appends a DB header which carries no additional user data (gatherStaleRegions) from the previous commit, then it breaks GSI compact_upto() because the new snapshot marker and previous marker are identical from application perspective.
      The fix is to adapt forestdb to never append a DB commit header when there is no delta data from application.

      Attachments

        For Gerrit Dashboard: MB-20803
        # Subject Branch Project Status CR V

        Activity

          People

            srinath.duvuru Srinath Duvuru
            sundar Sundar Sridharan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty