Details
-
Improvement
-
Resolution: Won't Fix
-
Minor
-
2.0-beta-2
-
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
For Gerrit Dashboard: MB-7335 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
23005,2 | MB-7335: Added couchstore_open_doc_with_bp | indexer | couchstore | Status: NEW | 0 | 0 |