use of org.apache.geode.cache.TransactionInDoubtException in project geode by apache.
the class ClientTXStateStub method commit.
@Override
public void commit() throws CommitConflictException {
obtainLocalLocks();
try {
TXCommitMessage txcm = firstProxy.commit(proxy.getTxId().getUniqId());
afterServerCommit(txcm);
} catch (TransactionDataNodeHasDepartedException e) {
throw new TransactionInDoubtException(e);
} finally {
lockReq.releaseLocal();
this.firstProxy.getPool().releaseServerAffinity();
}
}
Aggregations