Skip to content

Commit

Permalink
Try out better index name expression resolver
Browse files Browse the repository at this point in the history
Signed-off-by: Nils Bandener <[email protected]>
  • Loading branch information
nibix committed Jul 3, 2024
1 parent b5ff5c8 commit 2157bfa
Show file tree
Hide file tree
Showing 4 changed files with 1,430 additions and 81 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ public Collection<Object> createComponents(
this.salt = Salt.from(settings);

final IndexNameExpressionResolver resolver = new IndexNameExpressionResolver(threadPool.getThreadContext());
irr = new IndexResolverReplacer(resolver, clusterService::state, cih);
irr = new IndexResolverReplacer(clusterService::state, cih, threadPool.getThreadContext());

final String DEFAULT_INTERCLUSTER_REQUEST_EVALUATOR_CLASS = DefaultInterClusterRequestEvaluator.class.getName();
InterClusterRequestEvaluator interClusterRequestEvaluator = new DefaultInterClusterRequestEvaluator(settings);
Expand Down
Loading

0 comments on commit 2157bfa

Please sign in to comment.