leosanqing opened a new pull request, #3568: URL: https://github.com/apache/flink-cdc/pull/3568
# ISSUE Hi, when I was using Flink CDC Postgre, I chose 'debezium.snapshot.mode' = 'never' to skip the snapshot phase, but the code still entered the snapshot branch, and this log was printed, 'Database snapshot phase can 't perform checkpoint, acquired Checkpoint lock.' (Since our business creates the task first and then writes the data), the task cannot perform ckp, and the status is always stuck in in progress. After the timeout, the task restarts. Normally, if you only choose incremental data synchronization, you should not enter this branch. The failure of ckp does not mean that the first one fails. After multiple ckp are successfully performed, it will then get stuck, causing a timeout and restarting the task. This is a problem that must occur. After it appeared in production, it also recurred many times in local testing. Then we test, if there is data flowing in, the task status will be normal. sql and conf like this ![](https://issues.apache.org/jira/secure/attachment/13070439/13070439_image-2024-07-24-16-47-19-258.png) # Why do this? I think this miss one case,when I set "snapshot = nerver", I don't want to enter DB snapshot phase, and it can resolve my problem. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org