Nope. The only thing you can do on the target that affects which documents on the source are checked is modify / delete the _local document storing the checkpoint information. The ID of that document is available from the doc specifying the replication in the _replicator DB.
Adam On Oct 23, 2013, at 6:07 PM, Jay Clark <[email protected]> wrote: > What about if a COMPACT were performed on theTarget before replicating again > from theSource? Does that affect replication and which docs get checked? > > > ~Jay > > > > -------- Original message -------- > From Adam Kocoloski <[email protected]> > Date: 2013/10/23 4:03 PM (GMT-07:00) > To [email protected] > Subject Re: Doc Not Restored After PURGE > > > That's correct. What _purge doesn't do is inform the replicator that some of > the work it had done is no longer valid. > > The replicator tracks the last sequence on the source DB that it has > replicated to the target. When you replicate after the purge the replicator > has no reason to revisit doc2 (it only cares about the feed of updates on the > source), so it doesn't. If you bump the rev of doc2 on the source the > replicator re-examines it and transfers it over. > > Make sense? > > Adam > > On Oct 23, 2013, at 5:56 PM, Brad Rhoads <[email protected]> wrote: > >> That's what I would expect from a DELETE, but I thought _purge was supposed >> to make the database as if the doc was never there? >> >> --------------------------- >> www.maf.org/rhoads<http://www.maf.org/rhoads> >> www.ontherhoads.org<http://www.ontherhoads.org> >> >> >> On Wed, Oct 23, 2013 at 3:49 PM, Adam Kocoloski <[email protected]> wrote: >> >>> That's definitely one of the dangerous bits about purge. If you do a noop >>> update to doc2 on theSource and then replicate it should make its way to >>> theTarget. >>> >>> Adam >>> >>> On Oct 23, 2013, at 5:04 PM, Brad Rhoads <[email protected]> wrote: >>> >>>> Say I have two databases, theSource and theTarget, then: >>>> >>>> Add docs 1,2 & 3 to theSource. >>>> Replicate theSource to theTarget. >>>> PURGE doc 2 from theTarget. >>>> Replicate theSource to theTarget again. >>>> >>>> I'd expect doc 2 to be restored to theTarget, but it is not being >>> resorted. >>>> >>>> I've tested this in 1.2 and 1.3. I don't have 1.4 setup yet, so I haven't >>>> tested this senario on 1.4. >>>> >>>> Am I misunderstanding how this is supposed to work, or is there a bug? >>>> >>>> Thanks! >>>> >>>> -Brad >>>> >>>> >>>> --------------------------- >>>> www.maf.org/rhoads<http://www.maf.org/rhoads> >>>> www.ontherhoads.org<http://www.ontherhoads.org> >>> >>>
