commit | cf220b2e927093e3bd6f409b4ca9f7b1be0a04a3 | [log] [tgz] |
---|---|---|
author | Tony Sun <tony.sun@cloudant.com> | Tue Jan 31 20:47:13 2017 -0800 |
committer | Tony Sun <tony.sun@cloudant.com> | Thu Feb 09 11:27:47 2017 -0800 |
tree | bc66f8558cb7306a11b5717017e080834b2cc64b | |
parent | dd02a3938f267716e3479b7162e0b0a4f8ba3d51 [diff] |
Add Else Clause For Embed Doc When open_doc or open_revs return an error, we set the doc value to be an error message. This way we account for errors rather than transform_row throwing a function_clause. COUCHDB-3109
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.