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

Rollback support in ForestDB

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • feature-backlog
    • feature-backlog
    • forestdb
    • Security Level: Public
    • None
    • Untriaged
    • Unknown
    • June 30 - July 18

    Description

      The rollback API allows the applications to rollback their database to a specific point that is represented as a sequence number.

      Here is the rollback API definition:

      LIBFDB_API
      fdb_status fdb_rollback(fdb_handle *handle, fdb_seqnum_t seqnum);

      This API does a reverse scan on the given database handle until it finds the database header whose last sequence number <= seqnum, and then rollbacks the database to that header state, and returns FDB_RESULT_SUCCESS. If it can't find the header, then it will return FDB_RESULT_ROLLBACK_FAIL.

      Attachments

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

        Activity

          People

            sundar Sundar Sridharan (Inactive)
            chiyoung Chiyoung Seo (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