incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Davis" <paul.joseph.da...@gmail.com>
Subject Re: update-false mostly working
Date Fri, 05 Dec 2008 04:00:11 GMT
On Thu, Dec 4, 2008 at 10:43 PM, Chris Anderson <jchris@apache.org> wrote:
> I've checked in a version of the view-group-state-server work that
> uses gen_server and passes all but the purge test. Thanks Paul Davis
> for helping with the error handling stuff.
>
> Here's the diff against trunk:
> http://friendpaste.com/w5Xks5Kd
>
> And here is the github branch:
> http://github.com/jchris/couchdb/tree/update-false
>
> Damien, I think this is ready for you to look at. It might be easiest
> to make purge work by crashing couchdb_view_updater when it encounters
> a purge that's too deep for it to repair. I think this is sort of what
> it's doing already.
>

I think technically, all that is needed to mimic the old purge
behavior is if when couch_db_updater:purge_docs is called, the db's
update_seq is bumped one. Once that happens I'm semi-kinda-almost
certain that purge will work just fine.

> --
> Chris Anderson
> http://jchris.mfdz.com
>

Mime
View raw message