private void endNonceOperation(boolean success) {
      if (
        region.rsServices != null && region.rsServices.getNonceManager() != null
          && nonce != HConstants.NO_NONCE
      ) {
        region.rsServices.getNonceManager().endOperation(nonceGroup, nonce, success);
      }
    }
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