private boolean shouldRejectRequestsFromClient(HRegion region) {
    TableName table = region.getRegionInfo().getTable();
    ReplicationSourceService service = server.getReplicationSourceService();
    return service != null && service.getSyncReplicationPeerInfoProvider().checkState(table,
      RejectRequestsFromClientStateChecker.get());
  }
Atomically bulk load several HFiles into an open region
@return true if successful, false is failed but recoverably (no action)
@throws ServiceException if failed unrecoverably
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java