commit | d5511c4fb0efead8d61187279220fb6f06c0e086 | [log] [tgz] |
---|---|---|
author | Paul J. Davis <paul.joseph.davis@gmail.com> | Fri Jun 10 12:52:42 2016 -0500 |
committer | Paul J. Davis <paul.joseph.davis@gmail.com> | Fri Jun 10 12:52:42 2016 -0500 |
tree | ee929406499b8d03b67c3474a5beb5a6ca2ad152 | |
parent | 0aeaaa0842c566e749370558f11ec5df910a4ec7 [diff] |
Fix fabric_db_update_listener rexi_DOWN handling A recent change that fixed the list comprehension ended up uncovering the fact that we don't handle rexi_DOWN errors properly. This patch just tracks the shards that are still listening and uses `fabric_view:is_progress_possible/1` to know if we are still able to continue listening for changes. Fixes COUCHDB-3036
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.