Report errors opening documents during _all_docs

All errors are currently ignored in the receive statements and
eventually we timeout.  This patch causes fabric to report the error and
terminate quickly instead of waiting.

BugzID: 24580
1 file changed
tree: 1cf0b5afe15eadfb979c634d7b43ca22cc8e1cf2
  1. include/
  2. src/
  4. rebar.config


Fabric is a collection of proxy functions for CouchDB operations in a cluster. These functions are used in BigCouch as the remote procedure endpoints on each of the cluster nodes.

For example, creating a database is a straightforward task in standalone CouchDB, but for BigCouch, 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 BigCouch.

Getting Started

Fabric requires R13B03 or higher and can be built with rebar, which comes bundled in the repository.


Apache 2.0