commit | e8452fbafc4355cf55d017744a6c336a49848af7 | [log] [tgz] |
---|---|---|
author | Eric Avdey <eiri@eiri.ca> | Tue Jun 14 13:10:04 2016 -0300 |
committer | Eric Avdey <eiri@eiri.ca> | Tue Jun 14 13:10:04 2016 -0300 |
tree | 572b941971f4bc3426b1b060c9da8fbc4477c7e2 | |
parent | 9f4c9994fd93fb460558324a478189caa5b9330d [diff] |
Fix match in fabric_doc_open_revs reply Message handler in fabric_doc_open_revs returns tagged with 'ok' list of the replies and not expected {ok, Reply} tuple. This makes reply to go through 'Else' clause and skip filter_reply function.
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.