@Override
public void commit() throws CommitException {
try {
tx.commit();
committed = true;
log.trace("txid: {} commit() -> SUCCESSFUL commitTs: {}", txid, tx.getStats().getCommitTs());
} catch (CommitException ce) {
log.trace("txid: {} commit() -> UNSUCCESSFUL commitTs: {}", txid, tx.getStats().getCommitTs());
if (!log.isTraceEnabled() && notification != null) {
collisionLog.trace("txid: {} trigger: {} {} {}", txid, notification.getRow(),
notification.getColumn(), notification.getTimestamp());
}
if (!log.isTraceEnabled() && clazz != null) {
collisionLog.trace("txid: {} class: {}", txid, clazz.getName());
}
collisionLog.trace("txid: {} collisions: {}", txid, tx.getStats().getRejected());
throw ce;
}
}