Skip to content
Merged
Show file tree
Hide file tree
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 @@ -145,7 +145,7 @@ private void reportStatus(
}

/*
* This method feches doc counts for all indices in inProgressIndices (and the indices they are being reindexed into). After
* This method fetches doc counts for all indices in inProgressIndices (and the indices they are being reindexed into). After
* successfully fetching those, reportStatus is called.
*/
private void fetchInProgressStatsAndReportStatus(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected ReindexDataStreamTask createTask(
id,
type,
action,
"id=" + taskInProgress.getId(),
"Reindexing data stream " + taskInProgress.getParams().getSourceDataStream(),
parentTaskId,
headers
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ public ReindexDataStreamTask(
this.persistentTaskStartTime = persistentTaskStartTime;
this.initialTotalIndices = initialTotalIndices;
this.initialTotalIndicesToBeUpgraded = initialTotalIndicesToBeUpgraded;
this.pending.set(initialTotalIndicesToBeUpgraded);
this.completeTask = new RunOnce(() -> {
if (exception == null) {
markAsCompleted();
Expand Down