JingsongLi commented on code in PR #1690:
URL: https://github.com/apache/incubator-paimon/pull/1690#discussion_r1278967459


##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/sink/AppendOnlyTableCompactionWorkerOperator.java:
##########
@@ -38,10 +44,15 @@
  */
 public class AppendOnlyTableCompactionWorkerOperator
         extends PrepareCommitOperator<AppendOnlyCompactionTask, Committable> {
+    private static final Logger LOG =
+            
LoggerFactory.getLogger(AppendOnlyTableCompactionWorkerOperator.class);
     private final AppendOnlyFileStoreTable table;
-    private transient AppendOnlyTableCompactionWorker worker;
     private final String commitUser;
+    private transient AppendOnlyTableCompactionWorker worker;
     private transient List<CommitMessage> result;

Review Comment:
   You can just change this to `LinkedBlockingQueue` and avoid lock.



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