During release testing Stefan Richter and I noticed that watermarks are not checkpointed in the window operator.
This can lead to non determinism when restoring checkpoints. I was running an adjusted SessionWindowITCase via Kafka for testing migration and rescaling and ran into failures, because the data generator required determinisitic behaviour.
What happened was that on restore it could happen that late elements were not dropped, because the watermarks needed to be re-established after restore first.
Aljoscha Krettek Do you know whether there is a special reason for explicitly not checkpointing watermarks?