commit | ebea1b8f5d49fe60f326b33dbdc06176ecfea5d1 | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Tue Jul 12 12:06:24 2016 +0100 |
committer | Robert Newson <rnewson@apache.org> | Tue Jul 12 12:08:38 2016 +0100 |
tree | 2d75a54bc888a8f788616dcfeecbedf45c7d85d1 | |
parent | 7d07877853a9b6c66fae0814005dbd5df7f97289 [diff] |
End the listener if any shard is deleted If a database is deleted and recreated the underlying shards have a new name. Since we're watching the old names, we will never again see an updated event. So, we stop this process if any watched shard is deleted and it's someone elses job to recreate the listener for the new shards. COUCHDB-3054
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.