They are complementary. delayed_commits=true means we only fsync a database once a second. delayed_commits=false means we fsync for every request (simplified)
Now, X-Couch-Full-Commit can override the delayed_commits behaviour for a request. So when delayed_commits=true && X-Couch-Full-Commit: then we get an fsync for that request, even if there isn’t one scheduled at that specific moment. When delayed_commits=false, then X-Couch-Full-Commit is redundant. Best Jan -- > On 21 Oct 2016, at 11:51, Robert Nagy <[email protected]> wrote: > > How is this option related to “delayed_commits”. The name seems to suggest > it’s the inverse. Which is a bit confusing. > > e.g. > > X-Couch-Full-Commit: false === delayed_commits: true > X-Couch-Full-Commit: true === delayed_commits: false > > Maybe should be clarified in the documentation? -- Professional Support for Apache CouchDB: https://neighbourhood.ie/couchdb-support/
