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

Add API to get doc body given its bp (file offset)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Minor
    • feature-backlog
    • 2.0-beta-2
    • storage-engine
    • Security Level: Public
    • None

    Description

      To efficiently store CouchDB-style revision trees in CouchStore, we need a way to get to an older revision of a document, at least until the file is compacted. The simplest way to do this is to get the current revision's DocInfo.bp (file offset) and store that value as part of the new revision's body. Then we just need an API to get a document body given a bp value, which is pretty trivial.

      Attachments

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

        Activity

          People

            jens Jens Alfke
            jens Jens Alfke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There is 1 open Gerrit change

                PagerDuty