Skip to content

Commit

Permalink
removing accidental change
Browse files Browse the repository at this point in the history
  • Loading branch information
masseyke committed Nov 22, 2024
1 parent 39d6c7e commit 9d5ab65
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected void nodeOperation(AllocatedPersistentTask task, ReindexDataStreamTask
if (dataStreamInfos.size() == 1) {
List<Index> indices = dataStreamInfos.getFirst().getDataStream().getIndices();
List<Index> indicesToBeReindexed = indices.stream()
.filter(index -> clusterService.state().getMetadata().index(index).getCreationVersion().isLegacyIndexVersion())
.filter(index -> clusterService.state().getMetadata().index(index).getCreationVersion().isLegacyIndexVersion())
.toList();
reindexDataStreamTask.setPendingIndicesCount(indicesToBeReindexed.size());
CountDownActionListener listener = new CountDownActionListener(
Expand Down

0 comments on commit 9d5ab65

Please sign in to comment.