cctx.exchange().exchangerBlockingSectionBegin();
/** * Change WAL mode if needed. */ private void changeWalModeIfNeeded() { WalStateAbstractMessage msg = firstWalMessage(); if (msg != null) { cctx.exchange().exchangerBlockingSectionBegin(); try { cctx.walState().onProposeExchange(msg.exchangeMessage()); } finally { cctx.exchange().exchangerBlockingSectionEnd(); } } }
assert !crd.isLocal() : crd; cctx.exchange().exchangerBlockingSectionBegin(); onAllServersLeft(); cctx.exchange().exchangerBlockingSectionBegin();
/** * @param crd Coordinator flag. * @return Exchange type. * @throws IgniteCheckedException If failed. */ private ExchangeType onCacheChangeRequest(boolean crd) throws IgniteCheckedException { assert exchActions != null && !exchActions.empty() : this; assert !exchActions.clientOnlyExchange() : exchActions; cctx.exchange().exchangerBlockingSectionBegin(); try { assert registerCachesFuture == null : "No caches registration should be scheduled before new caches have started."; registerCachesFuture = cctx.affinity().onCacheChangeRequest(this, crd, exchActions); } catch (Exception e) { if (reconnectOnError(e) || !isRollbackSupported()) // This exception will be handled by init() method. throw e; U.error(log, "Failed to initialize cache(s) (will try to rollback) [exchId=" + exchId + ", caches=" + exchActions.cacheGroupsToStart() + ']', e); exchangeLocE = new IgniteCheckedException( "Failed to initialize exchange locally [locNodeId=" + cctx.localNodeId() + "]", e); exchangeGlobalExceptions.put(cctx.localNodeId(), exchangeLocE); } finally { cctx.exchange().exchangerBlockingSectionEnd(); } return cctx.kernalContext().clientNode() ? ExchangeType.CLIENT : ExchangeType.ALL; }
cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin();
cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin();
continue; cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); finalizePartitionCounters(); cctx.exchange().exchangerBlockingSectionBegin();
cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); while (true) { try { cctx.exchange().exchangerBlockingSectionBegin();
cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin();
cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin();
cctx.exchange().exchangerBlockingSectionBegin();
/** * Change WAL mode if needed. */ private void changeWalModeIfNeeded() { WalStateAbstractMessage msg = firstWalMessage(); if (msg != null) { cctx.exchange().exchangerBlockingSectionBegin(); try { cctx.walState().onProposeExchange(msg.exchangeMessage()); } finally { cctx.exchange().exchangerBlockingSectionEnd(); } } }
cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin();
/** * @param crd Coordinator flag. * @return Exchange type. * @throws IgniteCheckedException If failed. */ private ExchangeType onCacheChangeRequest(boolean crd) throws IgniteCheckedException { assert exchActions != null && !exchActions.empty() : this; assert !exchActions.clientOnlyExchange() : exchActions; cctx.exchange().exchangerBlockingSectionBegin(); try { assert registerCachesFuture == null : "No caches registration should be scheduled before new caches have started."; registerCachesFuture = cctx.affinity().onCacheChangeRequest(this, crd, exchActions); } catch (Exception e) { if (reconnectOnError(e) || !isRollbackSupported()) // This exception will be handled by init() method. throw e; U.error(log, "Failed to initialize cache(s) (will try to rollback). " + exchId, e); exchangeLocE = new IgniteCheckedException( "Failed to initialize exchange locally [locNodeId=" + cctx.localNodeId() + "]", e); exchangeGlobalExceptions.put(cctx.localNodeId(), exchangeLocE); } finally { cctx.exchange().exchangerBlockingSectionEnd(); } return cctx.kernalContext().clientNode() ? ExchangeType.CLIENT : ExchangeType.ALL; }
assert !crd.isLocal() : crd; cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin();
cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin();
continue; cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin();
cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); while (true) { try { cctx.exchange().exchangerBlockingSectionBegin();
cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin();
cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin(); cctx.exchange().exchangerBlockingSectionBegin();