File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed 
modules/reindex/src/internalClusterTest/java/org/elasticsearch/migration Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 2525import  org .elasticsearch .action .support .ActiveShardCount ;
2626import  org .elasticsearch .client .Client ;
2727import  org .elasticsearch .cluster .ClusterState ;
28- import  org .elasticsearch .cluster .ClusterStateTaskExecutor ;
2928import  org .elasticsearch .cluster .ClusterStateUpdateTask ;
3029import  org .elasticsearch .cluster .metadata .IndexMetadata ;
3130import  org .elasticsearch .cluster .metadata .Metadata ;
@@ -300,16 +299,16 @@ public ClusterState execute(ClusterState currentState) throws Exception {
300299                }
301300
302301                @ Override 
303-                 public  void  clusterStateProcessed (ClusterState  oldState , ClusterState  newState ) {
302+                 public  void  clusterStateProcessed (String   source ,  ClusterState  oldState , ClusterState  newState ) {
304303                    clusterStateUpdated .countDown ();
305304                }
306305
307306                @ Override 
308-                 public  void  onFailure (Exception  e ) {
307+                 public  void  onFailure (String   source ,  Exception  e ) {
309308                    failure .set (e );
310309                    clusterStateUpdated .countDown ();
311310                }
312-             },  ClusterStateTaskExecutor . unbatched () );
311+             });
313312
314313        clusterStateUpdated .await (10 , TimeUnit .SECONDS ); // Should be basically instantaneous 
315314        if  (failure .get () != null ) {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments