the compaction task will be returned by a get to /_active_tasks while running.
On Mon, Jan 24, 2011 at 6:20 PM, Paul Davis <[email protected]> wrote: > Later versions include an entry in the db info blob whether compaction > is running. Though you may still get into a bit of a race condition if > compaction finishes faster than you can make the second request. > > Though the return value of the compaction request should also tell you > if it's started successfully. > > On Mon, Jan 24, 2011 at 12:49 PM, Wayne Conrad <[email protected]> wrote: >> I've subscribed again, from another email address, because the list decided >> that my first subscribtion was a eeeeevil spammer. I hope that's OK. >> Anyhow... >> >> I've written a cron job that periodically compacts all databases on all >> servers, but it needs an automated test, and an automated test needs a way >> to know that compaction happend (or, at least, was triggered). Other than >> seeing the file size change, is there anything I can do from the API that >> will show that my cron job caused compaction to happen? >> >> I'm running 0.11.1. I can upgrade to a later version if it will make things >> easier. >> >> Thanks, >> Wayne Conrad >> >> >
