Lost source codes...
IgniteInternalFuture<IgniteInternalTx> commitTxAsync(final
GridNearTxLocal tx) {
FutureHolder holder = lastFut.get();
holder.lock();
try {
IgniteInternalFuture fut = holder.future();
if (fut != null && !fut.isDone()) {
IgniteInternalFuture<IgniteInternalTx> f = new
GridEmbeddedFuture<>(fut,
new C2<Object, Exception,
IgniteInternalFuture<IgniteInternalTx>>() {
@Override public
IgniteInternalFuture<IgniteInternalTx> apply(Object o, Exception e) {
return tx.commitNearTxLocalAsync();
}
});
saveFuture(holder, f, /*retry*/false);
return f;
}
IgniteInternalFuture<IgniteInternalTx> f =
tx.commitNearTxLocalAsync();
saveFuture(holder, f, /*retry*/false);
ctx.tm().resetContext();
return f;
}
finally {
holder.unlock();
}
}
protected final void asyncOpRelease(boolean retry) {
if (!retry && asyncOpsSem != null)
asyncOpsSem.release();
}
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/