Skip to content

Commit fcf4dc6

Browse files
committed
Revert debugging
1 parent 19b5c33 commit fcf4dc6

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

server/src/main/java/org/elasticsearch/indices/store/IndicesStore.java

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -158,23 +158,6 @@ public void clusterChanged(ClusterChangedEvent event) {
158158
}
159159

160160
for (IndexRoutingTable indexRoutingTable : routingTable) {
161-
indexRoutingTable.allShards().forEach(shardRouting -> {
162-
shardRouting.allShards().forEach(sr -> {
163-
System.out.println(
164-
"Shard "
165-
+ sr.currentNodeId()
166-
+ "/"
167-
+ sr.index()
168-
+ "/"
169-
+ sr.id()
170-
+ " - State "
171-
+ sr.state()
172-
+ " "
173-
+ sr.shortSummary()
174-
);
175-
});
176-
});
177-
178161
// Note, closed indices will not have any routing information, so won't be deleted
179162
for (int i = 0; i < indexRoutingTable.size(); i++) {
180163
IndexShardRoutingTable indexShardRoutingTable = indexRoutingTable.shard(i);

0 commit comments

Comments
 (0)