On Thu, Dec 4, 2008 at 10:43 PM, Chris Anderson <[EMAIL PROTECTED]> 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 >
