Skip to content

Commit

Permalink
[FLINK-36790][cdc-connector][paimon] set waitCompaction with true dur…
Browse files Browse the repository at this point in the history
…ing prepare common of PaimonWriter to avoid CME problem
  • Loading branch information
wuzhiping committed Nov 26, 2024
1 parent c969957 commit f3ed283
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public Collection<MultiTableCommittable> prepareCommit() throws IOException {
for (Map.Entry<Identifier, StoreSinkWrite> entry : writes.entrySet()) {
Identifier key = entry.getKey();
StoreSinkWrite write = entry.getValue();
boolean waitCompaction = false;
boolean waitCompaction = true;
committables.addAll(
// here we set it to lastCheckpointId+1 to
// avoid prepareCommit the same checkpointId with the first round.
Expand Down

0 comments on commit f3ed283

Please sign in to comment.