Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,9 @@ public static class AllocationState {
}

public long storagePreventsAllocation() {
RoutingNodes routingNodes = new RoutingNodes(state, false);
RoutingAllocation allocation = new RoutingAllocation(
allocationDeciders,
routingNodes,
state.getRoutingNodes(),
state,
info,
shardSizeInfo,
Expand All @@ -241,10 +240,9 @@ public long storagePreventsAllocation() {
}

public long storagePreventsRemainOrMove() {
RoutingNodes routingNodes = new RoutingNodes(state, false);
RoutingAllocation allocation = new RoutingAllocation(
allocationDeciders,
routingNodes,
state.getRoutingNodes(),
state,
info,
shardSizeInfo,
Expand Down