couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Somov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1196) The server cannot terminate properly closing all the databases
Date Wed, 15 Jun 2011 16:43:47 GMT
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


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

        

Mime
View raw message