You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by gi...@git.apache.org on 2017/04/11 22:27:55 UTC

[GitHub] jaydoane commented on a change in pull request #474: 3364 fix view compactor unknown info

jaydoane commented on a change in pull request #474: 3364 fix view compactor unknown info
URL: https://github.com/apache/couchdb/pull/474#discussion_r111028615
 
 

 ##########
 File path: src/couch_index/src/couch_index_compactor.erl
 ##########
 @@ -81,6 +85,14 @@ handle_cast(_Mesg, State) ->
 
 handle_info({'EXIT', Pid, normal}, #st{pid=Pid}=State) ->
     {noreply, State#st{pid=undefined}};
+handle_info({'EXIT', Pid, Reason}, #st{pid = Pid} = State) ->
+    #st{idx = Idx, mod = Mod} = State,
+    {ok, IdxState} = gen_server:call(Idx, {compaction_failed, Reason}),
 
 Review comment:
   Since there seems to be a disagreement, should we try to find a tiebreaker?
   
   In any case, I'm unable to merge this PR, so a committer will need to do the honors.
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services