couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paul Davis" <>
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 <> 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:
> And here is the github branch:
> 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

View raw message