txn.clearKey(rowCountKey);
txn.clearKey(autoIncKey);
}
private void internalSetAutoInc(Session session, long value, boolean evenIfLess) {
TransactionState txn = txnService.getTransaction(session);
long current = decodeOrZero(txn.getValue(autoIncKey));
if(evenIfLess || value > current) {
txn.setBytes(autoIncKey, Tuple2.from(value).pack());
}
}