Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't touch the old couch_lru ets table

It doesn't exist.

BugzID: 13299
  • Loading branch information...
commit bf4d46be7037ddea375bdaf2bab067e29f2c423f 1 parent f7adbbe
@kocolosk kocolosk authored Robert Newson committed
Showing with 0 additions and 3 deletions.
  1. +0 −3  apps/couch/src/couch_server.erl
View
3  apps/couch/src/couch_server.erl
@@ -293,13 +293,11 @@ handle_call({delete, DbName, _Options}, _From, Server) ->
[#db{main_pid=Pid, compactor_pid=Froms}] when is_list(Froms) ->
% icky hack of field values - compactor_pid used to store clients
true = ets:delete(couch_dbs, DbName),
- true = ets:delete(couch_lru, DbName),
exit(Pid, kill),
[gen_server:reply(F, not_found) || F <- Froms],
Server#server{dbs_open=Server#server.dbs_open - 1};
[#db{main_pid=Pid}] ->
true = ets:delete(couch_dbs, DbName),
- true = ets:delete(couch_lru, DbName),
exit(Pid, kill),
Server#server{dbs_open=Server#server.dbs_open - 1}
end,
@@ -345,7 +343,6 @@ handle_info({'EXIT', Pid, Reason}, #server{dbs_open=DbsOpen}=Server) ->
ok
end,
true = ets:delete(couch_dbs, DbName),
- true = ets:delete(couch_lru, DbName),
{noreply, Server#server{dbs_open=DbsOpen - 1}};
[] ->
{noreply, Server}
Please sign in to comment.
Something went wrong with that request. Please try again.