Skip to content

Commit

Permalink
changed persistent task name to be of similar structure as the others
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvg committed May 31, 2018
1 parent 7e811c7 commit e05884b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ private int countCcrNodeTasks() throws IOException {
for (Map.Entry<?, ?> entry : nodeTasks.entrySet()) {
Map<?, ?> nodeTask = (Map<?, ?>) entry.getValue();
String action = (String) nodeTask.get("action");
if (action.startsWith("shard_follow")) {
if (action.startsWith("xpack/ccr/shard_follow_task")) {
numNodeTasks++;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

public class ShardFollowTask implements PersistentTaskParams {

public static final String NAME = "shard_follow";
public static final String NAME = "xpack/ccr/shard_follow_task";

// list of headers that will be stored when a job is created
public static final Set<String> HEADER_FILTERS =
Expand Down

0 comments on commit e05884b

Please sign in to comment.