couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brad Rhoads <bdr...@gmail.com>
Subject Re: Doc Not Restored After PURGE
Date Wed, 23 Oct 2013 21:56:50 GMT
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
www.ontherhoads.org


On Wed, Oct 23, 2013 at 3:49 PM, Adam Kocoloski <kocolosk@apache.org> 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 <bdrhoa@gmail.com> 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
> > www.ontherhoads.org
>
>

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