commit | b5340347294ac8047619df23b1586774d22e5b71 | [log] [tgz] |
---|---|---|
author | Nick Vatamaniuc <vatamane@apache.org> | Thu Sep 15 11:16:19 2016 -0400 |
committer | Nick Vatamaniuc <vatamane@apache.org> | Thu Sep 15 11:16:19 2016 -0400 |
tree | 28160d8a45f13ead8371500f7b892477b4ba2751 | |
parent | f84750e3d31accf7bcadb0ba05249c23ce920521 [diff] |
Avoid throwing exception when deleting db in db updater listener Handle db deletion explicitly. Previously handle_db_event callback returned `{stop, St}`. That return value was not handled by the caller, instead it resulted in it being used as reason in an erlang:error, which then ended up in the log. Jira: COUCHDB-3149
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.