Skip to content

Commit e05884b

Browse files
committed
changed persistent task name to be of similar structure as the others
1 parent 7e811c7 commit e05884b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

x-pack/plugin/ccr/qa/multi-cluster-with-security/src/test/java/org/elasticsearch/xpack/ccr/FollowIndexSecurityIT.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ private int countCcrNodeTasks() throws IOException {
125125
for (Map.Entry<?, ?> entry : nodeTasks.entrySet()) {
126126
Map<?, ?> nodeTask = (Map<?, ?>) entry.getValue();
127127
String action = (String) nodeTask.get("action");
128-
if (action.startsWith("shard_follow")) {
128+
if (action.startsWith("xpack/ccr/shard_follow_task")) {
129129
numNodeTasks++;
130130
}
131131
}

x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/action/ShardFollowTask.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
public class ShardFollowTask implements PersistentTaskParams {
2727

28-
public static final String NAME = "shard_follow";
28+
public static final String NAME = "xpack/ccr/shard_follow_task";
2929

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

0 commit comments

Comments
 (0)