rpuch commented on code in PR #3103:
URL: https://github.com/apache/ignite-3/pull/3103#discussion_r1469975389
##########
modules/network/src/main/java/org/apache/ignite/internal/network/recovery/RecoveryServerHandshakeManager.java:
##########
@@ -98,6 +102,8 @@ public class RecoveryServerHandshakeManager implements
HandshakeManager {
private final BooleanSupplier stopping;
+ private final AtomicBoolean eventLoopSwitchPropagator = new
AtomicBoolean();
Review Comment:
I thought a little bit more and just removed this manual HB propagation.
Switching includes registration on the new event loop, and this includes
execution of a task on the new event loop's thread; the future is completed on
this new thread. This already established a HB.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]