Sometimes when I hit a checkpoint timeout and that...
# troubleshooting
a
Sometimes when I hit a checkpoint timeout and that begins cascading checkpoint failures, if I take a savepoint and restore from it, it clears up the issue. For instance, take a look at the checkpoint size during timeouts. Then I restored from savepoint, and the checkpoint sizes decreased and the problem went away. Why is this?
r
@Alex Craig can you give more details like where exactly checkpoint is failing and is it backpressured a lot?
a
@raghav tandon Basically the checkpoint times out at ten minutes and then it is constantly retrying and failing. I'm not sure where exactly it's failing in the graph (not sure how to find that). At the time of failure, yes it is very backpressured.
But then I can take a savepoint and restore from it, and the checkpoint failures stop
r
You need to fix the backpressure, you can check from UI in checkpointing page which task is not progressing, we have encountered this in past and die to extreme backpressure it happened
a
@raghav tandon I get that, but why does taking a savepoint and restoring from it solve the issue? I was under the impression savepoints have to travel through the pipeline too. That's my real burning question
r
I am guessing, when you are taking a savepoint the processing is stopped, but with unaligned it is the best effort basis to insert checkpoint barrier and start checkpointing…
a
Makes sense. I do wonder why then after booting it back up it doesn't just fail on the next checkpoint though
r
Its purely based on backpressure and barrier is able to align or not, a good read https://www.alibabacloud.com/developer/a/flink/flink-unaligned-checkpoint-in-shope