Replicating from your leaf nodes *to* the central node already works as you'd want. Ie, all documents in the leaf database are sent to the central db and things are updated as expected. (Verified this with minimal testing, so you might wait for confirmation)
The caveat is going in the other direction. To date, I don't know that there's anything to support replicating just a set of records. I think there was talk of this to support things like sharding etc at one point or another, but I don't know of anyone actively working on such a thing. Perhaps if you wanted to submit a patch for something like replicating from a view. :D I really have no idea if that's even feasible, but given the little I know of the internals it sounds possible. Paul On Mon, Aug 18, 2008 at 9:03 PM, Joel Reed <[EMAIL PROTECTED]> wrote: > I'm currently evaluating CouchDB for an offline web application that would > involve a central document repository and multiple "leaf nodes" where new > documents are created. > > Does the roadmap for CouchDB include any capabilities that would allow me to > replicate the database from the leaf nodes to the central server, while NOT > replicating all documents in the server to the leaf nodes? > > Maybe a better way to state my question would be: does the roadmap include > any option to replicate a single document from one server to another? > Perhaps for my purposes, I should just do this all manually by GETting from > one DB and PUTting to the central repo... but it would be very nice to just > say "all documents on the leaf nodes get replicated to the central repo." > > jr > > >
