commit | 18e6fd852e7442ad957950daaaa7ee11d49255ea | [log] [tgz] |
---|---|---|
author | Robert Newson <rnewson@apache.org> | Tue Jun 21 16:00:08 2016 +0100 |
committer | Robert Newson <rnewson@apache.org> | Tue Jun 21 17:10:03 2016 +0100 |
tree | 5c1c4a3c42bdf97e253e4df9d0c7e439cdfd68dd | |
parent | 17af869aa3f573da30b93ae50308b0b8024af63f [diff] |
Pass security object in fake db Users can be granted admin access to the special _users and _replicator databases so we need to pass the security object to the authorization functions. COUCHDB-2991
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.