You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Damien Katz (JIRA)" <ji...@apache.org> on 2009/04/27 21:08:30 UTC
[jira] Created: (COUCHDB-334) With deferred commits and 100+ active
dbs, CouchDB can lose uncommitted changes
With deferred commits and 100+ active dbs, CouchDB can lose uncommitted changes
-------------------------------------------------------------------------------
Key: COUCHDB-334
URL: https://issues.apache.org/jira/browse/COUCHDB-334
Project: CouchDB
Issue Type: Bug
Components: Database Core
Affects Versions: 0.9
Reporter: Damien Katz
Assignee: Damien Katz
Fix For: 0.9.1
By default, CouchDB keeps a maximum of 100 databases open and active. This is controlled by the ini setting max_dbs_open in [couchdb] .
This limit controls the number of Erlang server processes that are readily available and hold resources, like file handles, and hold state for deferred commits. Once CouchDB hits the open database limit, it will always close an idle database and files before opening a new database file. The problem is that CouchDB would consider instances to be idle even if they still had deferred commits pending. It would then close the instance and drop it's deferred commits.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Updated: (COUCHDB-334) With deferred commits and 100+ active
dbs, CouchDB can lose uncommitted changes
Posted by "Damien Katz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Damien Katz updated COUCHDB-334:
--------------------------------
Fix Version/s: (was: 0.10)
0.9.1
> With deferred commits and 100+ active dbs, CouchDB can lose uncommitted changes
> -------------------------------------------------------------------------------
>
> Key: COUCHDB-334
> URL: https://issues.apache.org/jira/browse/COUCHDB-334
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Affects Versions: 0.9
> Reporter: Damien Katz
> Assignee: Damien Katz
> Fix For: 0.9.1
>
>
> By default, CouchDB keeps a maximum of 100 databases open and active. This is controlled by the ini setting max_dbs_open in [couchdb] .
> This limit controls the number of Erlang server processes that are readily available and hold resources, like file handles, and hold state for deferred commits. Once CouchDB hits the open database limit, it will always close an idle database and files before opening a new database file. The problem is that CouchDB would consider instances to be idle even if they still had deferred commits pending. It would then close the instance and drop it's deferred commits.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (COUCHDB-334) With deferred commits and 100+
active dbs, CouchDB can lose uncommitted changes
Posted by "Damien Katz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/COUCHDB-334?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Damien Katz resolved COUCHDB-334.
---------------------------------
Resolution: Fixed
Fix Version/s: (was: 0.9.1)
0.10
This fix should be pushed to 0.9.1
> With deferred commits and 100+ active dbs, CouchDB can lose uncommitted changes
> -------------------------------------------------------------------------------
>
> Key: COUCHDB-334
> URL: https://issues.apache.org/jira/browse/COUCHDB-334
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Affects Versions: 0.9
> Reporter: Damien Katz
> Assignee: Damien Katz
> Fix For: 0.10
>
>
> By default, CouchDB keeps a maximum of 100 databases open and active. This is controlled by the ini setting max_dbs_open in [couchdb] .
> This limit controls the number of Erlang server processes that are readily available and hold resources, like file handles, and hold state for deferred commits. Once CouchDB hits the open database limit, it will always close an idle database and files before opening a new database file. The problem is that CouchDB would consider instances to be idle even if they still had deferred commits pending. It would then close the instance and drop it's deferred commits.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.