Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-27572

Verify HA Metadata present before performing last-state restore

    XMLWordPrintableJSON

Details

    Description

      When we restore a job using the last-state logic we need to verify that the HA metadata has not been deleted. And if it's not there we need to simply throw an error because this requires manual user intervention.

      This only applies when the FlinkDeployment is not already in a suspended state with recorded last state information.

      The problem be reproduced easily in 1.14 by triggering a fatal job error. (turn of restart-strategy and kill TM for example). In these cases HA metadata will be removed, and the next last-state upgrade should throw an error instead of restoring from a completely empty state. 

      Attachments

        Activity

          People

            gyfora Gyula Fora
            gyfora Gyula Fora
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: