Skip to content

Commit

Permalink
Fix routingTable
Browse files Browse the repository at this point in the history
Change is incoming from upstream core.

Signed-off-by: Khushboo Rajput <[email protected]>
  • Loading branch information
khushbr authored Jun 28, 2023
1 parent 030d919 commit 73302cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void collectMetrics(long startTime) {
value.append(PerformanceAnalyzerMetrics.getJsonCurrentMilliSeconds())
.append(PerformanceAnalyzerMetrics.sMetricNewLineDelimitor);
RoutingTable routingTable = clusterState.routingTable();
String[] indices = routingTable.indicesRouting().keys().toArray(String.class);
String[] indices = routingTable.indicesRouting().keySet().toArray(new String[0]);
for (String index : indices) {
List<ShardRouting> allShardsIndex = routingTable.allShards(index);
value.append(
Expand Down

0 comments on commit 73302cb

Please sign in to comment.