Prithvi Dammalapati
01/30/2024, 1:55 PMupgradeMode
We currently set it to savepoint and started noticing that on suspend it creates a savepoint as expected but deletes all the existing checkpoints
Is this the expected behavior?
Not sure if this is related but, the only message we see in the jobManager log is
level=INFO message="Job fd053399cf4b210cc94cc08b80545d25 has been registered for cleanup in the JobResultStore after reaching a terminal state." path=/ pod=flink-xxx-7d6b884cbb-z7bxj time=2024-01-26T17:07:50.785299901Z
I checked the configuration related to this and it is set to
job-result-store.delete-on-commit: FALSETim Wolfe
01/30/2024, 8:42 PMsavepoint mode, it creates a savepoint and deletes existing checkpoints, since the savepoint serves as a more durable state snapshot for future resumptions. The log message you're seeing is related to job cleanup after it reaches a terminal state and isn't directly connected to checkpoint or savepoint handling.Prithvi Dammalapati
01/30/2024, 8:58 PMPedro Mázala
01/31/2024, 9:17 PMPrithvi Dammalapati
01/31/2024, 10:05 PMcheckpointConfig.setExternalizedCheckpointCleanup(RETAIN_ON_CANCELLATION)
execution.checkpointing.externalized-checkpoint-retention RETAIN_ON_CANCELLATION
state.checkpoints.num-retained 50
Narasaiah Ethamukkala
02/03/2024, 7:59 AMPrithvi Dammalapati
02/05/2024, 2:59 PM