Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.2
-
None
-
New Contributors Level (Easy)
Description
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