Skip to content

Commit 70ce356

Browse files
author
Doug Rohrer
committed
Add back call to stop nodes before deleting index directories.
Somehow managed to pass on 2.0.7, but shouldn't have (and doesn't in 2.2.0).
1 parent 47794a4 commit 70ce356

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/yokozuna_rt.erl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ brutal_kill_remove_index_dirs(Nodes, IndexName, Services) ->
243243
-spec remove_index_dirs([node()], index_name(), [atom()]) -> ok.
244244
remove_index_dirs(Nodes, IndexName, Services) ->
245245
IndexDirs = get_index_dirs(IndexName, Nodes),
246+
[rt:stop(ANode) || ANode <- Nodes],
246247
remove_index_dirs2(Nodes, IndexDirs, Services),
247248
ok.
248249

0 commit comments

Comments
 (0)