Hi, I'm trying to troubleshoot a bug that sometime...
# troubleshooting
a
Hi, I'm trying to troubleshoot a bug that sometimes occurs after recovering from checkpoint/savepoint and I just noticed this sentence in the docs:
Flink generates watermarks after it restores in-flight data. If your pipeline uses an operator that applies the latest watermark on each record will produce different results than for aligned checkpoints.
I'm using the
assignTimestampsAndWatermarks
function so I think that this might be what is causing the issue. I would just like to confirm if savepoints are also unaligned when
enableUnalignedCheckpoints
is set to
true
?
t
Yes, if
enableUnalignedCheckpoints
is set to true, savepoints will also be unaligned. This can affect how watermarks are restored and processed after recovery, potentially leading to different processing results in your pipeline.