couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1262) View files are never fsynced
Date Fri, 26 Aug 2011 21:29:29 GMT


Adam Kocoloski commented on COUCHDB-1262:

Seriously, though, I'd probably omit 'after_header' from the view group syncing.  If we re-index
a handful of docs after a power failure it's no big deal.  The 'before_header' option is the
much more important one.

There's some precedence for this in the compactor code, where it ignores options other than
'before_header' and only applies that option if it's set in the server config.

> View files are never fsynced
> ----------------------------
>                 Key: COUCHDB-1262
>                 URL:
>             Project: CouchDB
>          Issue Type: Bug
>          Components: JavaScript View Server
>            Reporter: Paul Joseph Davis
> We don't fsync headers in view files. We should fix that.
> First thought for a patch would be to pass the current db fsync options before_header
and after_header to couch_file:write_header so that views and databases have the same level
of configurable protection.

This message is automatically generated by JIRA.
For more information on JIRA, see:


View raw message