You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Filipe Manana (JIRA)" <ji...@apache.org> on 2011/06/15 18:51:48 UTC
[jira] [Commented] (COUCHDB-1196) The server cannot terminate
properly closing all the databases
[ https://issues.apache.org/jira/browse/COUCHDB-1196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049870#comment-13049870 ]
Filipe Manana commented on COUCHDB-1196:
----------------------------------------
Thanks Andrey, will try it soon
> The server cannot terminate properly closing all the databases
> --------------------------------------------------------------
>
> Key: COUCHDB-1196
> URL: https://issues.apache.org/jira/browse/COUCHDB-1196
> Project: CouchDB
> Issue Type: Bug
> Components: Database Core
> Affects Versions: 1.2
> Reporter: Andrey Somov
> Priority: Minor
> Attachments: patch-issue-1196.txt
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> It looks like the values in the couch_dbs_by_name table are tuples of 2
> terms in couch_server.terminate():
> terminate(_Reason, _Srv) ->
> [couch_util:shutdown_sync(Pid) || {_, {Pid, _LruTime}} <-
> ets:tab2list(couch_dbs_by_name)],
> ok.
> But in the rest of the code the values are always 3-term-tuples:
> {opened, Pid, LruTime} or {opening, Opener, [Froms]}
> The patch is expected to solve the issue. All the tests pass.
> See also: http://thread.gmane.org/gmane.comp.db.couchdb.devel/15741
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira