GitHub user mikewallace1979 opened a pull request: https://github.com/apache/couchdb-fabric/pull/20
Merge diff from cloudant fork This PR brings in three commits made directly to the cloudant fork of fabric after the last significant chunk of merge work. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apache/couchdb-fabric merge-diff-from-cloudant-fork Alternatively you can review and apply these changes as the patch at: https://github.com/apache/couchdb-fabric/pull/20.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20 ---- commit d7d6be8535443fd3ddbe65c0a6a35534b4b98e29 Author: Eric Avdey <e...@eiri.ca> Date: 2014-11-11T00:12:42Z 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 This is a cherry-pick of: https://github.com/cloudant/fabric/commit/c85569287ad8f86122b47775adc2ab9218db0322 Conflicts: src/fabric_rpc.erl commit 383f8f4dc46737fac646a6d90ff03b64c0d94109 Author: Robert Newson <rnew...@apache.org> Date: 2015-03-29T12:38:38Z Add ability to gracefully terminate existing changes feeds Calling fabric:end_changes() will cause all current changes feeds to gracefully exit without preventing new changes requests from starting (unlike maintenance_mode). BugzID: 45762 This is a cherry-pick of: https://github.com/cloudant/fabric/commit/1b45cede8f11e209f28e3d06b9fda4cbdcd719cc Conflicts: src/fabric.erl src/fabric_view_changes.erl commit ece2b2ed9114d454eea79d8788f8d0c01f172ed9 Author: Robert Newson <rnew...@apache.org> Date: 2015-04-09T22:07:19Z export dbname/1 BugzID: 45853 This is a cherry-pick of: https://github.com/cloudant/fabric/commit/818dd09e9ea645e866fc62fd1a4302ce73b2422a ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---