Filter out not_found replies when #doc{} is found

There are places in the codebase which assume that the return from
open_revs is always a list with one element in it. Fix the regression
introduced in 9a1d0c5 by filtering out not_found replies when any of the
returns contains #doc{}.

COUCHDB-3026
1 file changed
tree: 2f6ff606d286203812b9c1538cc614e6dc591d90
  1. include/
  2. priv/
  3. src/
  4. .travis.yml
  5. LICENSE
  6. README.md
  7. rebar.config
README.md

fabric

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.

Getting Started

Fabric requires R13B03 or higher and can be built with rebar.

License

Apache 2.0