diff options
author | Benjamin Bastian <benjamin.bastian@gmail.com> | 2017-04-19 15:17:43 -0700 |
---|---|---|
committer | Benjamin Bastian <benjamin.bastian@gmail.com> | 2017-04-25 14:04:29 -0700 |
commit | 2f7dd4d1c236aaf4a3764cbac3699b1e636f33ef (patch) | |
tree | 346d464e6aeea9f8172f0280e8d6b59c9e6db118 | |
parent | adc7b342df5d3e5bc6411ce155bfcd72a2bb3470 (diff) | |
download | couchdb-COUCHDB-3377.tar.gz |
squashCOUCHDB-3377
-rw-r--r-- | src/couch_index/src/couch_index_compactor.erl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/couch_index/src/couch_index_compactor.erl b/src/couch_index/src/couch_index_compactor.erl index ed8389983..d22474716 100644 --- a/src/couch_index/src/couch_index_compactor.erl +++ b/src/couch_index/src/couch_index_compactor.erl @@ -95,6 +95,7 @@ handle_info({'EXIT', Pid, Reason}, #st{pid = Pid} = State) -> IdxName = Mod:get(idx_name, IdxState), Args = [DbName, IdxName, Reason], couch_log:error("Compaction failed for db: ~s idx: ~s reason: ~p", Args), + ok = couch_index_server:set_compacting(State#st.idx, false), {noreply, State#st{pid = undefined}}; handle_info({'EXIT', _Pid, normal}, State) -> {noreply, State}; |