diff options
-rw-r--r-- | src/mem3_nodes.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mem3_nodes.erl b/src/mem3_nodes.erl index 0214ed03..6cbf3d9a 100644 --- a/src/mem3_nodes.erl +++ b/src/mem3_nodes.erl @@ -73,6 +73,8 @@ initialize_nodelist() -> first_fold(#full_doc_info{id = <<"_design/", _/binary>>}, _, Acc) -> {ok, Acc}; +first_fold(#full_doc_info{deleted=true}, _, Acc) -> + {ok, Acc}; first_fold(#full_doc_info{id=Id}, _, Acc) -> {ok, [mem3_util:to_atom(Id) | Acc]}. |