We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 032b42f commit 9d9eed5Copy full SHA for 9d9eed5
server/src/main/java/org/elasticsearch/gateway/ClusterStateUpdaters.java
@@ -143,6 +143,7 @@ public static ClusterState hideStateIfNotRecovered(ClusterState state) {
143
.coordinationMetadata(state.metadata().coordinationMetadata())
144
.build();
145
146
+ assert state.routingTable().indicesRouting().isEmpty() : "routing table is not empty: " + state.routingTable().indicesRouting();
147
return ClusterState.builder(state).metadata(metadata).blocks(blocks.build()).build();
148
}
149
return state;
0 commit comments