[Bug] When CDC Action is not actively configured with checkpoint and is allowed to force snapshots to be submitted, Flink's failover does not take effect. #4998
Labels
bug
Something isn't working
Search before asking
Paimon version
0.8+
Compute Engine
Flink
Minimal reproduce step
commit.force-create-snapshot
=true
What doesn't meet your expectations?
Exception
Chances are, we'll find that the task keeps restarting.
How this led to this Exception
With
commit.force-create-snapshot
turned on, a commit will be triggered to generate a snapshot of paimon even if no data is written.flink's failover resumes from checkpoint, based on paimon's two-phase commit, and resuming from checkpoint may trigger a commit of the manifest file
If there are no new data files in the commit (via the streamingCheckpointEnabled variable in the
CommitterOperator
), the manifest file commit may be filtered out because we didn't actively set the checkpoint.streamingCheckpointEnabled= false
, then the commit will be ignored (because no new data file has been generated). Then, after the second job restart, the process will be repeated again, and we will be stuck in a dead loop.Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: