commit | 998cf2d66aeb0a436f2d836f3f50ee0c647137fc | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Mon Jan 09 12:30:02 2017 +0000 |
committer | Robert Newson <rnewson@apache.org> | Wed Jan 11 18:08:57 2017 +0000 |
tree | a2cb686d82b682813b2a7ea027556566ade68830 | |
parent | eb697843865c39cec5d7831d9a0f02edf90d06ba [diff] |
Handle no_pass message when limit is 0 A view query that uses both a filter and a limit value can appear to 'hang' because the workers continue to run even after the number of requested items have been returned, as workers that find no more matches return 'no_pass' messages not 'change' messages, and thus the short-circuiting code is never activated. COUCHDB-3269
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.