private void throwOnOldMaster(long procId, long initiatingMasterActiveTime)
    throws MasterNotRunningException {
    if (initiatingMasterActiveTime > server.getMasterActiveTime()) {
      // procedure is initiated by new active master but report received on master with older active
      // time
      LOG.warn(
        "Report for procId: {} and initiatingMasterAT {} received on master with activeTime {}",
        procId, initiatingMasterActiveTime, server.getMasterActiveTime());
      throw new MasterNotRunningException("Another master is active");
    }
  }
@return LOCKED, if procedure is found and it has the lock; else UNLOCKED.
@throws ServiceException if given proc id is found but it is not a LockProcedure.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/MasterRpcServices.java