Sumit Nekar
01/18/2023, 5:11 AMkubernetes.operator.job.upgrade.last-state-fallback.enabled is set to false). If the last checkpoint is not available, the job upgrade will fail.
So is it always better to use savepoint as it falls back last state mode in case when job is unhealthy.?
In savepoint upgrade , always savepoint is taken before upgrade/restart. Can it increase job estarting time?
Which one is preferred for a statefull stream processing flink job?sap1ens
01/18/2023, 5:34 AMlast-state is usually faster, especially if you have a lot of state. I use that as a default and only leverage savepoint for migrations.Sumit Nekar
01/18/2023, 5:49 AMsap1ens
01/18/2023, 6:37 AMSo it just restart from last successful checkpoint available?Yep, exactly. So you're potentially losing some of the state updates or emitting duplicates. But if the job is deterministic it shouldn't matter.
Sumit Nekar
01/18/2023, 6:56 AMGyula FĂłra
01/18/2023, 7:48 AMSumit Nekar
01/18/2023, 12:24 PM