File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed 
modules/streams/src/yamlRestTest/resources/rest-api-spec/test/streams/logs 
server/src/main/java/org/elasticsearch/rest/action/document Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -142,13 +142,16 @@ teardown:
142142            index.default_pipeline : " reroute-to-logs-foo-success" 
143143  - do :
144144      bulk :
145-         refresh : true 
146145        body : | 
147146          { "index": { "_index": "logs" } } 
148147          { "foo": "bar", "baz": "qux" } 
149148match : { errors: false } 
150149  - match : { items.0.index.status: 201 } 
151150
151+   - do :
152+       indices.refresh :
153+         index : logs.foo 
154+ 
152155  - do :
153156      delete_by_query :
154157        index : logs.foo 
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public class RestBulkAction extends BaseRestHandler {
6363
6464    public  static  final  String  TYPES_DEPRECATION_MESSAGE  = "[types removal] Specifying types in bulk requests is deprecated." ;
6565    public  static  final  String  FAILURE_STORE_STATUS_CAPABILITY  = "failure_store_status" ;
66-     public  static  final  Set <String > STREAMS_ALLOWED_PARAMS  = Set .of ("timeout" );
66+     public  static  final  Set <String > STREAMS_ALLOWED_PARAMS  = Set .of ("timeout" ,  "error_trace" );
6767
6868    private  final  boolean  allowExplicitIndex ;
6969    private  final  IncrementalBulkService  bulkHandler ;
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments