couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Randall Leeds <randall.le...@gmail.com>
Subject Re: Data loss
Date Sun, 08 Aug 2010 01:06:09 GMT
On Sat, Aug 7, 2010 at 18:01, Adam Kocoloski <kocolosk@apache.org> wrote:
> POSTing to /db/_ensure_full_commit will still cause a header to be written.
>
> Switching to delayed_commits = false and then writing a document will cause a header
to be written for that DB.
>
> POSTing to /_ensure_full_commit for each DB and then flipping the delayed_commits to
false will put a 1.0.0 server into a safe state with all data saved.

The safest, I think, would be to flip to delayed_commits=false first
and then post to /_ensure_full_commit on each DB.

Mime
View raw message