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