@@ -491,7 +491,17 @@ public Index concreteWriteIndex(
491
491
options .ignoreThrottled ()
492
492
);
493
493
494
- Context context = new Context (state , combinedOptions , false , true , includeDataStreams , isSystemIndexAccessAllowed ());
494
+ Context context = new Context (
495
+ state ,
496
+ combinedOptions ,
497
+ System .currentTimeMillis (),
498
+ false ,
499
+ true ,
500
+ includeDataStreams ,
501
+ false ,
502
+ isSystemIndexAccessAllowed (),
503
+ false
504
+ );
495
505
Index [] indices = concreteIndices (context , index );
496
506
if (allowNoIndices && indices .length == 0 ) {
497
507
return null ;
@@ -821,7 +831,7 @@ public static class Context {
821
831
includeDataStreams ,
822
832
false ,
823
833
isSystemIndexAccessAllowed ,
824
- false
834
+ true
825
835
);
826
836
}
827
837
@@ -843,15 +853,15 @@ public static class Context {
843
853
includeDataStreams ,
844
854
preserveDataStreams ,
845
855
isSystemIndexAccessAllowed ,
846
- false
856
+ true
847
857
);
848
858
}
849
859
850
860
Context (ClusterState state , IndicesOptions options , long startTime , boolean isSystemIndexAccessAllowed ) {
851
- this (state , options , startTime , false , false , false , false , isSystemIndexAccessAllowed , false );
861
+ this (state , options , startTime , false , false , false , false , isSystemIndexAccessAllowed , true );
852
862
}
853
863
854
- protected Context (
864
+ Context (
855
865
ClusterState state ,
856
866
IndicesOptions options ,
857
867
long startTime ,
0 commit comments