couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoé Bellot <zoe.bel...@cozycloud.cc>
Subject Re: Force the start sequence of a replication
Date Thu, 12 Dec 2013 08:48:15 GMT
Thanks for your answer.

Zoé


2013/12/12 Robert Newson <rnewson@apache.org>

> Hi,
>
> Add a property called "since_seq" to your second replication with the
> update sequence you wish to start at. Like;
>
> {"source":"source url here", "target":"target url", "since_seq":99999}
>
> This was introduce in CouchDB 1.2.0;
>
> * Added optional field `since_seq` to replication objects/documents.
>   It allows to bootstrap a replication from a specific source sequence
>   number.
>
> Also works at Cloudant.
>
> B.
>
> On 12 December 2013 08:16, Zoé Bellot <zoe.bellot@cozycloud.cc> wrote:
> > Hello couchDB users,
> >
> > I would like to replicate two databases with a one-shot replication with
> a
> > filter which takes documents with a field 'docType' equals to File or
> > Folder. Once, this replication done, I would like to do a continuous
> > replication between these two databases with a filter which takes
> documents
> > with a field 'docType' equals to File or Folder and deleted document.
> >
> > However, I would like to start the second replication at the last
> sequence
> > of the first replication. I can find the sequence number in the first
> > replication information but I don't know how force the second replication
> > to start at this sequence.
> > Is there a way to do this ?
> >
> > Thanks for your answer.
> >
> > Sorry for my english, I'm not a native English speaker.
> >
> > Zoé
>

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