NSAmelchev commented on a change in pull request #8350:
URL: https://github.com/apache/ignite/pull/8350#discussion_r503336188
##########
File path:
modules/core/src/test/java/org/apache/ignite/spi/discovery/tcp/TcpClientDiscoverySpiSelfTest.java
##########
@@ -2564,6 +2596,21 @@ private void pauseResumeOperation(boolean isPause,
AtomicBoolean... locks) {
}
}
+ /** {@inheritDoc} */
+ @Override public void setDataExchange(DiscoverySpiDataExchange
delegate) {
+ super.setDataExchange(new DiscoverySpiDataExchange() {
+ @Override public DiscoveryDataBag collect(DiscoveryDataBag
dataBag) {
+
joiningNodesClientFlag.putIfAbsent(dataBag.joiningNodeId(),
dataBag.isJoiningNodeClient());
Review comment:
Can we check that flag was added only once?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]