Re: Force the start sequence of a replication

2013-12-13 Thread Zoé Bellot
Hi Dave, It works for me. Thanks. Zoé 2013/12/12 Dave Cottlehuber d...@jsonified.com Salut Zoé I'm pretty sure you can use `since_seq = number ` in your POST to the _replicator endpoint. https://github.com/apache/couchdb/blob/master/src/couch_replicator/src/couch_replicator.erl#L548

Force the start sequence of a replication

2013-12-12 Thread Zoé Bellot
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

Re: Force the start sequence of a replication

2013-12-12 Thread Robert Newson
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:9} This was introduce in CouchDB 1.2.0; * Added optional field `since_seq` to replication objects/documents. It allows

Re: Force the start sequence of a replication

2013-12-12 Thread Zoé Bellot
Thanks for your answer. Zoé 2013/12/12 Robert Newson rnew...@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:9} This was introduce in CouchDB 1.2.0;

Re: Force the start sequence of a replication

2013-12-12 Thread Dave Cottlehuber
Salut Zoé I'm pretty sure you can use `since_seq = number ` in your POST to the _replicator endpoint. https://github.com/apache/couchdb/blob/master/src/couch_replicator/src/couch_replicator.erl#L548 This was added in mmm 1.2.x I think. If it works, please confirm back, I will update docs for