Permalink
Browse files

MB-7873 Ensure blocked indexer tasks die if updater dies

If the updater process dies (shutdown by view group for e.g.),
ensure the corresponding blocked indexer active task will die
as well. This is ensured by keeping both processes linked all
the time.

Change-Id: If326a001c3baa106ea0f2dd46717b881e794fd3b
Reviewed-on: http://review.couchbase.org/25018
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Filipe David Borba Manana <fdmanana@gmail.com>
  • Loading branch information...
fdmanana committed Mar 6, 2013
1 parent 2995b40 commit c02fc33e2380fb80a79bc6d321ad55e8f72fba03
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/couch_set_view/src/couch_set_view_updater.erl
@@ -188,7 +188,6 @@ update(WriterAcc, ActiveParts, PassiveParts, BlockedTime,
end),
Parent = self(),
- unlink(BarrierEntryPid),
Writer = spawn_link(fun() ->
DDocIds = couch_set_view_util:get_ddoc_ids_with_sig(SetName, Group),
couch_task_status:add_task([

0 comments on commit c02fc33

Please sign in to comment.