xianjingfeng commented on code in PR #2712:
URL: https://github.com/apache/uniffle/pull/2712#discussion_r2689283444


##########
common/src/main/java/org/apache/uniffle/common/DeferredCompressedBlock.java:
##########
@@ -31,7 +32,7 @@
 public class DeferredCompressedBlock extends ShuffleBlockInfo {
   private final Function<DeferredCompressedBlock, DeferredCompressedBlock> 
rebuildFunction;
   private int estimatedCompressedSize;
-  private boolean isInitialized = false;
+  private AtomicBoolean isInitialized = new AtomicBoolean(false);

Review Comment:
   Is this change still needed after using synchronized?



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to