commit | ae2a8f7cb61dd4fc160c3b26091a885fb254f23f | [log] [tgz] |
---|---|---|
author | Eric Avdey <eiri@eiri.ca> | Fri Jul 08 15:54:47 2016 -0300 |
committer | Eric Avdey <eiri@eiri.ca> | Tue Jul 12 15:21:23 2016 -0300 |
tree | c16fc671f1ebe1b3121c4b5f2f0e2a2969cd22b8 | |
parent | b17c8801b3bfe764d6da8983fafb5ad803d47bcc [diff] |
Ignore already received replies for same shards It is possible to get a reply for same shard from different node sent before its collector get stopped in remove_overlapping_shards. This running condition leads to a possibility of same info to be aggregated multiple times.
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.