This repository has been archived by the owner on Sep 19, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Provide an access to a document info
The functions `get_doc_info/3` and `get_full_doc_info/3` were added to API to provide an access to the records `#doc_info{}` and `#full_doc_info{}` accordingly. The functions are re-using `fabric_open_doc` coordinator and consequently are the subject of the same read quorum rules as `open_doc/3` function. However the info functions do not trigger read repair on a not fully complete quorum. Function `get_full_doc_info/3` accepts an option `deleted` to allow to provide an information for a deleted document, similar to `open_doc/3`. FogBugz: 12933
- Loading branch information
Showing
3 changed files
with
103 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters