ptupitsyn commented on code in PR #4260:
URL: https://github.com/apache/ignite-3/pull/4260#discussion_r1731373599


##########
modules/compute/src/main/java/org/apache/ignite/internal/compute/task/TaskExecutionInternal.java:
##########
@@ -81,6 +84,8 @@ public class TaskExecutionInternal<I, M, T, R> implements 
TaskExecution<R> {
 
     private final AtomicBoolean isCancelled;
 
+    private final AtomicReference<Marshaller<R, byte[]>> 
reduceResultMarshallerRef = new AtomicReference<>();

Review Comment:
   We only use `get` and `set` from the `AtomicReference`, so it can be 
replaced with a `volatile` field.



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