Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Remove PSE references from compaction test
I accidentally included part of the PSE work when I extracted this
patch. Should just be the minor tweak to access the updater pid
directly.
  • Loading branch information
davisp committed Mar 23, 2017
1 parent f09e321 commit 21c8d37ac6ee1a7fed1de1f54f95a4d3cd9f5248
Showing 1 changed file with 2 additions and 2 deletions.
@@ -220,7 +220,7 @@ spawn_compaction_monitor(DbName) ->
{Pid, Ref} = spawn_monitor(fun() ->
DaemonPid = whereis(couch_compaction_daemon),
DbPid = couch_util:with_db(DbName, fun(Db) ->
couch_db:get_pid(Db)
Db#db.main_pid
end),
{ok, ViewPid} = couch_index_server:get_index(couch_mrview_index,
DbName, <<"_design/foo">>),
@@ -257,7 +257,7 @@ spawn_compaction_monitor(DbName) ->
end),
receive
{Pid, started} -> ok;
{'DOWN', Ref, _, _, _} -> erlang:error(monitor_failure)
{'DOWN', Ref, _, _, Reason} -> erlang:error({monitor_failure, Reason})
after ?TIMEOUT ->
erlang:error({assertion_failed, [
{module, ?MODULE},

0 comments on commit 21c8d37

Please sign in to comment.