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

Tools: Supporting transaction

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 6.5.0
    • 6.5.0
    • tools
    • None

    Description

      Problem
      In the Mad Hatter timeframe SDKs will be adding support for transactions. There might be a need to do extra work in Tools to support transactions

      Related Docs

      Top level Transaction PRD
      Top level Transaction PRD Design doc

      Design

      Transaction Tools Design Doc

      Cbbackupmgr

      Speaking with Graham Pople, Dave Rigby, David Haikney and myself it was decided that backup should follow a similar design as XDCR.

      • It will backup all the data as usual
      • During the restore the following will be done:
      • The ATR document for each vBucket will not be restored.
      • Any document that has a XATTR transaction will be restored without the XATTR transaction (other XATTRS will be kept)
      • The CAS will be reset to the previous CAS which is stored in the XATTR transaction
      • cbbackupmgr will note the documents that have been "changed"
      • cbbackupmgr will throw a warning that transactions have been decided and that backup can't guarantee atomicity

      cbbackup/cbrestore

      • Will follow the steps above

      cbtransfer

      • Will follow the steps above

      Attachments

        Issue Links

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

          Activity

            People

              carlos.gonzalez Carlos Gonzalez Betancort (Inactive)
              pvarley Patrick Varley (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty