private void checkFamily(final byte[] family, Durability durability)
    throws NoSuchColumnFamilyException, InvalidMutationDurabilityException {
    checkFamily(family);
    if (
      durability.equals(Durability.SKIP_WAL)
        && htableDescriptor.getColumnFamily(family).getScope() != HConstants.REPLICATION_SCOPE_LOCAL
    ) {
      throw new InvalidMutationDurabilityException(
        "Mutation's durability is SKIP_WAL but table's column family " + Bytes.toString(family)
          + " need replication");
    }
  }
@param delta If we are doing delta changes -- e.g. increment/append -- then this flag will be
             set; when set we will run operations that make sense in the increment/append
             scenario but that do not make sense otherwise.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java