saintstack commented on a change in pull request #917: HBASE-23383 [hbck2] 
`fixHoles` should queue assignment procedures for any regions its fixing
URL: https://github.com/apache/hbase/pull/917#discussion_r357866250
 
 

 ##########
 File path: 
hbase-procedure/src/test/java/org/apache/hadoop/hbase/procedure2/ProcedureTestingUtility.java
 ##########
 @@ -275,6 +276,12 @@ public static LoadCounter 
storeRestartAndAssert(ProcedureStore procStore, long m
     }
   }
 
+  public static <TEnv> void waitProcedures(ProcedureExecutor<TEnv> 
procedureExecutor, Procedure<TEnv>... procs) {
+    if (procs == null) { return; }
 
 Review comment:
   This is an interesting way of doing one-line. I think I might like it.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to