couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Kocoloski (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COUCHDB-786) Make fewer gen_server calls to fsync the db header
Date Sat, 12 Jun 2010 19:20:13 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-786?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adam Kocoloski closed COUCHDB-786.
----------------------------------

         Assignee: Adam Kocoloski
    Fix Version/s: 1.1
                       (was: 0.12)
       Resolution: Fixed

COUCHDB-767 accomplishes the end goal -- only 1 call to the couch_file gen_server in order
to commit the header.

> Make fewer gen_server calls to fsync the db header
> --------------------------------------------------
>
>                 Key: COUCHDB-786
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-786
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core
>    Affects Versions: 0.10.2, 0.11
>            Reporter: Randall Leeds
>            Assignee: Adam Kocoloski
>             Fix For: 1.1
>
>         Attachments: 0001-db-header-fsync-with-fewer-gen_server-calls.patch
>
>
> Currently the couch_db_updater process is responsible for calling couch_file:sync based
on the fsync options when the db header is written. Instead, this patch just passes the fsync
options down to couch_file so that writing the header can always be performed with a single
gen_server call.
> Writes are serialized through couch_db_updater but reads can have high concurrency. This
patch should boost write performance when the message queue on couch_file is long.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message