Skip to content

Commit ab2fa79

Browse files
author
Hendrik Muhs
authored
[Transform] wait for deprecated index shards to get active (elastic#47997)
wait for deprecated index shards to get active
1 parent 0fb02aa commit ab2fa79

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

x-pack/plugin/transform/src/main/java/org/elasticsearch/xpack/transform/transforms/TransformPersistentTasksExecutor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ static List<String> verifyIndicesPrimaryShardsAreActive(ClusterState clusterStat
109109
IndexNameExpressionResolver resolver = new IndexNameExpressionResolver();
110110
String[] indices = resolver.concreteIndexNames(clusterState,
111111
IndicesOptions.lenientExpandOpen(),
112-
TransformInternalIndexConstants.INDEX_NAME_PATTERN);
112+
TransformInternalIndexConstants.INDEX_NAME_PATTERN,
113+
TransformInternalIndexConstants.INDEX_NAME_PATTERN_DEPRECATED);
113114
List<String> unavailableIndices = new ArrayList<>(indices.length);
114115
for (String index : indices) {
115116
IndexRoutingTable routingTable = clusterState.getRoutingTable().index(index);

0 commit comments

Comments
 (0)