+ " tid=" + tid + " size = " + playingToMessageStore.size();
logger.log(Logger.DEBUG, msg);
}
}
BaseTransaction existingTxn = null;
boolean stored = false;
existingTxn = incompleteUnstored.get(tid);
if (existingTxn == null) {
existingTxn = incompleteStored.get(tid);
if (existingTxn != null) {
stored = true;
} else {
String msg = getPrefix() + " processTxnCompletion: Could not find txn for " + tid;
logger.log(Logger.WARNING, msg);
throw new BrokerException(msg);
}
}
existingTxn.getTransactionDetails().setState(state);
if (stored) {
// update the stored transaction from prepared to committed/rolledback state
//update state on file by writing at fixed offset