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

RocksDB: VBState is persisted out-of-order with respect to updates

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.5.0
    • master
    • couchbase-bucket
    • None
    • Untriaged
    • Unknown

    Description

      In saveDocs, we prepare a batch of updates to write to the DB, followed by a persisted vbState, and then the batch is committed. However the saveVBState is done using a non-batch Put(), which means that the VBstate is persisted before the updates.

      This is incorrect, as in the event of a crash we would see the wrong high seqno etc in the vbState compared to the data.

      Attachments

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

        Activity

          People

            drigby Dave Rigby (Inactive)
            drigby Dave Rigby (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty