commit | 9a1d0c54c78cef70d1a3992f3c71ef2878c498e4 | [log] [tgz] |
---|---|---|
author | Paul J. Davis <paul.joseph.davis@gmail.com> | Thu Apr 21 15:42:27 2016 -0500 |
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | Tue May 17 10:53:25 2016 -0500 |
tree | 33e4f14434eb730c84889b25e1cba4dbca593d86 | |
parent | a6d07a1cbf9e7ea07f171f223710891ac7c627b4 [diff] |
Fix fabric_doc_open_revs When a user specified multiple revisions on a single branch to fabric_doc_open_revs it would throw a function clause exception in lists:zipwith/3. This was due to a bad assumption that there would only ever be exactly one revision for every input revision. Due to the possibility of having zero or more revisions for a given revision when using latest=true this code had to be changed fairly significantly. COUCHDB-2863
Fabric is a collection of proxy functions for CouchDB operations in a cluster. These functions are used in CouchDB as the remote procedure endpoints on each of the cluster nodes.
For example, creating a database is a straightforward task in CouchDB 1.x, but for a clustered CouchDB, each node that will store a shard for the database needs to receive and execute a fabric function. The node handling the request also needs to compile the results from each of the nodes and respond accordingly to the client.
Fabric is used in conjunction with ‘Rexi’ which is also an application within CouchDB.
Fabric requires R13B03 or higher and can be built with rebar.