Apache CouchDB

Clone this repo:
  1. 4553f90 Merge remote branch 'cloudant:69654-fix-view-info-duplicates' by Eric Avdey · 2 years ago master
  2. ae2a8f7 Ignore already received replies for same shards by Eric Avdey · 2 years ago
  3. b17c880 fix compilation warnings of unused variables by Robert Newson · 2 years ago
  4. ebea1b8 End the listener if any shard is deleted by Robert Newson · 2 years ago
  5. 7d07877 Merge remote branch 'cloudant:44287-use-correct-sequence-for-shard-replacement' by ILYA Khlopotov · 2 years ago


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.


Apache 2.0