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

Operator failed to rollback due to missing HA metadata

    XMLWordPrintableJSON

Details

    Description

      The operator has well detected that the job was failing and initiate the rollback but this rollback has failed due to `Rollback is not possible due to missing HA metadata`

      We are relying on saevpoint upgrade mode and zookeeper HA.

      The operator is performing a set of action to also delete this HA data in savepoint upgrade mode:

      Then when running rollback the operator is looking for HA data even if we rely on sevepoint upgrade mode:

      For both step the pattern looks to be the same for kubernetes HA so it doesn't looks to be linked to a bug with zookeeper.

       

      From https://issues.apache.org/jira/browse/FLINK-30305 it looks to be expected that the HA data has been deleted (as it is also performed by flink when relying on savepoint upgrade mode).

      Still the use case seems to differ from https://issues.apache.org/jira/browse/FLINK-30305 as the operator is aware of the failure and treat a specific rollback event.

      So I'm wondering why we enforce such a check when performing rollback if we rely on savepoint upgrade mode. Would it be fine to not rely on the HA data and rollback from the last savepoint (the one we used in the deployment step)?

      Attachments

        Activity

          People

            Unassigned Unassigned
            nfraison.datadog Nicolas Fraison
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: