/** {@inheritDoc} */ @Override public boolean collect(@Nullable GridNearTxPrepareResponse res) { assert res != null; if (res.clientRemapVersion() == null) remap = false; return true; }
if (res.clientRemapVersion() != null) { assert parent.cctx.kernalContext().clientNode(); assert m.clientFirst(); parent.cctx.exchange().affinityReadyFuture(res.clientRemapVersion());
/** {@inheritDoc} */ @Override public void onResult(UUID nodeId, GridNearTxPrepareResponse res) { if (!isDone()) { assert res.clientRemapVersion() == null : res; MiniFuture f = miniFuture(res.miniId()); if (f != null) { assert f.primary().id().equals(nodeId); f.onResult(res, true); } else { if (msgLog.isDebugEnabled()) { msgLog.debug("Near pessimistic prepare, failed to find mini future [txId=" + tx.nearXidVersion() + ", node=" + nodeId + ", res=" + res + ", fut=" + this + ']'); } } } else { if (msgLog.isDebugEnabled()) { msgLog.debug("Near pessimistic prepare, response for finished future [txId=" + tx.nearXidVersion() + ", node=" + nodeId + ", res=" + res + ", fut=" + this + ']'); } } }
@Override public void apply(IgniteInternalFuture<Boolean> remapFut0) { try { IgniteInternalFuture<?> affFut = parent.cctx.exchange().affinityReadyFuture(res.clientRemapVersion());
if (res.clientRemapVersion() != null) { assert parent.cctx.kernalContext().clientNode(); assert m.clientFirst();
/** {@inheritDoc} */ @Override public boolean collect(@Nullable GridNearTxPrepareResponse res) { assert res != null; if (res.clientRemapVersion() == null) remap = false; return true; }
/** {@inheritDoc} */ @Override public void onResult(UUID nodeId, GridNearTxPrepareResponse res) { if (!isDone()) { assert res.clientRemapVersion() == null : res; MiniFuture f = miniFuture(res.miniId()); if (f != null) { assert f.primary().id().equals(nodeId); f.onResult(res, true); } else { if (msgLog.isDebugEnabled()) { msgLog.debug("Near pessimistic prepare, failed to find mini future [txId=" + tx.nearXidVersion() + ", node=" + nodeId + ", res=" + res + ", fut=" + this + ']'); } } } else { if (msgLog.isDebugEnabled()) { msgLog.debug("Near pessimistic prepare, response for finished future [txId=" + tx.nearXidVersion() + ", node=" + nodeId + ", res=" + res + ", fut=" + this + ']'); } } }
if (res.clientRemapVersion() != null) { assert parent.cctx.kernalContext().clientNode(); assert m.clientFirst(); parent.cctx.exchange().affinityReadyFuture(res.clientRemapVersion());
@Override public void apply(IgniteInternalFuture<Boolean> remapFut0) { try { IgniteInternalFuture<?> affFut = parent.cctx.exchange().affinityReadyFuture(res.clientRemapVersion());
if (res.clientRemapVersion() != null) { assert parent.cctx.kernalContext().clientNode(); assert m.clientFirst();