couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Copenhaver <sean.copenha...@gmail.com>
Subject Re: Merging many DataBases into one
Date Wed, 10 Aug 2011 14:56:52 GMT
Sounds like the same ids are in use in both shards. If conflicts occur
during replication a "winner" is picked deterministically by CouchDB.
Something like whoever has the higher revision hash.

On Wed, Aug 10, 2011 at 10:18 AM, Iako <jim@commonaccord.com> wrote:

> Hi,
>
> I tried to merge two shards and each time one overrides the other.
> So, though the target database shows that is as large as the two
> source databases, it shows only the number of documents of one of
> the source databases (the order of replicating does not change
> which one -- one seems to be dominant).
>
> Any suggestions would be very welcome.
>
> Jim
>
>
>
>


-- 
“The limits of language are the limits of one's world. “ -Ludwig von
Wittgenstein

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message