commit | 28528ace698e46996487d174a2017ecf1a4b9082 | [log] [tgz] |
---|---|---|
author | Russell Branca <chewbranca@gmail.com> | Wed Mar 26 17:11:26 2014 -0700 |
committer | Russell Branca <chewbranca@gmail.com> | Fri Mar 28 11:33:19 2014 -0700 |
tree | 21064cb1568cada8e067271b5dd910a4c2e9d4ce | |
parent | f75aef451fb5907003d204d4886fd62296203596 [diff] |
Switch to using couch_mrview data structures and utility functions This updates the data structures expected for view callbacks, mainly switching total_and_offset to the new meta response, and also slight modifications to the expected row format. Additionally this removes view logic from fabric that is better handled in couch_mrview.
Fabric is a collection of proxy functions for CouchDB operations in a cluster. These functions are used in BigCouch as the remote procedure endpoints on each of the cluster nodes.
For example, creating a database is a straightforward task in standalone CouchDB, but for BigCouch, 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 BigCouch.
Fabric requires R13B03 or higher and can be built with rebar, which comes bundled in the repository.