zstan commented on code in PR #12663:
URL: https://github.com/apache/ignite/pull/12663#discussion_r2757779505


##########
modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/ServerImpl.java:
##########
@@ -7699,18 +7661,13 @@ void addMessage(TcpDiscoveryAbstractMessage msg, 
@Nullable byte[] msgBytes) {
         }
 
         /** {@inheritDoc} */
-        @Override protected void 
processMessage(T2<TcpDiscoveryAbstractMessage, byte[]> msgT) {
+        @Override protected void processMessage(TcpDiscoveryAbstractMessage 
msg) {
             boolean success = false;
 
-            TcpDiscoveryAbstractMessage msg = msgT.get1();
-
             try {
                 assert msg.verified() : msg;
 
-                byte[] msgBytes = msgT.get2();
-
-                if (msgBytes == null)
-                    msgBytes = ses.serializeMessage(msg);
+                byte[] msgBytes = ses.serializeMessage(msg);

Review Comment:
   in such a case plz link this discussion somehow into an issue, othervize we 
will lose it



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