public static ProcedurePrepareLatch createLatch(int major, int minor) {
    // don't use the latch if we have procedure support
    return hasProcedureSupport(major, minor) ? noopLatch : new CompatibilityLatch();
  }
Create a latch if the client does not have async proc support
@param major major version with async proc support
@param minor minor version with async proc support
@return a CompatibilityLatch or a NoopLatch if the client has async proc support
hbase-server/src/main/java/org/apache/hadoop/hbase/master/procedure/ProcedurePrepareLatch.java