Skip to content

Commit

Permalink
[flink] Do not chain for AppendBypassCompactWorkerOperator (apache#4083)
Browse files Browse the repository at this point in the history
  • Loading branch information
JingsongLi authored Aug 28, 2024
1 parent 3efd2f3 commit 05d278e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.apache.paimon.append.UnawareAppendCompactionTask;
import org.apache.paimon.table.FileStoreTable;

import org.apache.flink.streaming.api.operators.ChainingStrategy;
import org.apache.flink.streaming.runtime.streamrecord.StreamRecord;
import org.apache.flink.types.Either;

Expand All @@ -30,6 +31,7 @@ public class AppendBypassCompactWorkerOperator

public AppendBypassCompactWorkerOperator(FileStoreTable table, String commitUser) {
super(table, commitUser);
this.chainingStrategy = ChainingStrategy.HEAD;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ public AppendBypassCoordinateOperator(
this.table = table;
this.processingTimeService = processingTimeService;
this.mailbox = (MailboxExecutorImpl) mailbox;
this.chainingStrategy = ChainingStrategy.NEVER;
this.chainingStrategy = ChainingStrategy.HEAD;
}

@Override
Expand Down

0 comments on commit 05d278e

Please sign in to comment.