private Map<byte[], List<ExtendedCell>> reckonDeltas(Mutation mutation,
      List<ExtendedCell> results, long now) throws IOException {
      assert mutation instanceof Increment || mutation instanceof Append;
      Map<byte[], List<ExtendedCell>> ret = new TreeMap<>(Bytes.BYTES_COMPARATOR);
      // Process a Store/family at a time.
      for (Map.Entry<byte[], List<ExtendedCell>> entry : ClientInternalHelper
        .getExtendedFamilyCellMap(mutation).entrySet()) {
        final byte[] columnFamilyName = entry.getKey();
        List<ExtendedCell> deltas = entry.getValue();
        // Reckon for the Store what to apply to WAL and MemStore.
        List<ExtendedCell> toApply =
          reckonDeltasByStore(region.stores.get(columnFamilyName), mutation, now, deltas, results);
        if (!toApply.isEmpty()) {
          for (ExtendedCell cell : toApply) {
            HStore store = region.getStore(cell);
            if (store == null) {
              region.checkFamily(CellUtil.cloneFamily(cell));
            } else {
              ret.computeIfAbsent(store.getColumnFamilyDescriptor().getName(),
                key -> new ArrayList<>()).add(cell);
            }
          }
        }
      }
      return ret;
    }
Ends nonce operation for a mutation, if needed.
@param success Whether the operation for this nonce has succeeded.
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java