mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-13 16:35:45 +00:00
changed persistent task name to be of similar structure as the others
This commit is contained in:
parent
0176100a73
commit
7e8cf768cf
@ -125,7 +125,7 @@ public class FollowIndexSecurityIT extends ESRestTestCase {
|
|||||||
for (Map.Entry<?, ?> entry : nodeTasks.entrySet()) {
|
for (Map.Entry<?, ?> entry : nodeTasks.entrySet()) {
|
||||||
Map<?, ?> nodeTask = (Map<?, ?>) entry.getValue();
|
Map<?, ?> nodeTask = (Map<?, ?>) entry.getValue();
|
||||||
String action = (String) nodeTask.get("action");
|
String action = (String) nodeTask.get("action");
|
||||||
if (action.startsWith("shard_follow")) {
|
if (action.startsWith("xpack/ccr/shard_follow_task")) {
|
||||||
numNodeTasks++;
|
numNodeTasks++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -25,7 +25,7 @@ import java.util.Set;
|
|||||||
|
|
||||||
public class ShardFollowTask implements PersistentTaskParams {
|
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
|
// list of headers that will be stored when a job is created
|
||||||
public static final Set<String> HEADER_FILTERS =
|
public static final Set<String> HEADER_FILTERS =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user