private void closeAllScanners() {
    // Close any outstanding scanners. Means they'll get an UnknownScanner
    // exception next time they come in.
    for (Map.Entry<String, RegionScannerHolder> e : scanners.entrySet()) {
      try {
        e.getValue().s.close();
      } catch (IOException ioe) {
        LOG.warn("Closing scanner " + e.getKey(), ioe);
      }
    }
  }
Execute a list of Put/Delete mutations. The function returns OperationStatus instead of
constructing MultiResponse to save a possible loop if caller doesn't need MultiResponse.
@return an array of OperationStatus which internally contains the OperationStatusCode and the
        exceptionMessage if any
@deprecated Since 3.0.0, will be removed in 4.0.0. We do not use this method for replaying
            edits for secondary replicas any more, see
            {@link #replicateToReplica(RpcController, ReplicateWALEntryRequest)}.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/RSRpcServices.java