File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 8383import java .util .ArrayList ;
8484import java .util .Arrays ;
8585import java .util .HashMap ;
86+ import java .util .HashSet ;
8687import java .util .Iterator ;
8788import java .util .List ;
8889import java .util .Map ;
@@ -344,7 +345,7 @@ public void analyzedPlan(
344345 return plan ;
345346 };
346347 // Capture configured remotes list to ensure consistency throughout the session
347- executionInfo .setConfiguredClusters (indicesExpressionGrouper .getConfiguredClusters ());
348+ executionInfo .setConfiguredClusters (Set . copyOf ( indicesExpressionGrouper .getConfiguredClusters () ));
348349
349350 PreAnalyzer .PreAnalysis preAnalysis = preAnalyzer .preAnalyze (parsed );
350351 var unresolvedPolicies = preAnalysis .enriches .stream ()
You can’t perform that action at this time.
0 commit comments