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


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/datastreamer/DataStreamerImpl.java:
##########
@@ -152,11 +152,8 @@ public class DataStreamerImpl<K, V> implements 
IgniteDataStreamer<K, V>, Delayed
     /** Amount of permissions should be available to continue new data 
processing. */
     private static final int REMAP_SEMAPHORE_PERMISSIONS_COUNT = 
Integer.MAX_VALUE;
 
-    /** Cache receiver. */
-    private StreamReceiver<K, V> rcvr = ISOLATED_UPDATER;
-
-    /** */
-    private byte[] updaterBytes;
+    /** Cache receiver, in the message that carries it to the remote nodes. */
+    private volatile DataStreamerReceiverMessage rcvrMsg = new 
DataStreamerReceiverMessage(ISOLATED_UPDATER);

Review Comment:
   Why we serialize the ISOLATED_UPDATER? It already is on other node. 



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