Vladsz83 commented on code in PR #13409:
URL: https://github.com/apache/ignite/pull/13409#discussion_r3704123375


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/metastorage/persistence/DistributedMetaStorageImpl.java:
##########
@@ -821,30 +806,26 @@ private String 
validatePayload(DistributedMetaStorageJoiningNodeData joiningData
 
         DistributedMetaStorageJoiningNodeData joiningData = 
discoData.joiningNodeData();
 
-        DistributedMetaStorageVersion remoteVer = joiningData.ver;
-
         lock.readLock().lock();
 
         try {
             DistributedMetaStorageVersion locVer = ver;
 
-            if (remoteVer.id() >= locVer.id()) {
-                Serializable nodeData = new 
DistributedMetaStorageClusterNodeData(remoteVer, null, null, null);
+            if (joiningData.dVerId >= locVer.id()) {
+                var rmtVer = new 
DistributedMetaStorageVersion(joiningData.dVerId, joiningData.dVerHash);

Review Comment:
   Let's keep code changes smaller and do not add a constructor



-- 
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]

Reply via email to