Till Rohrmann created FLINK-9416:
------------------------------------

             Summary: Make job submission retriable operation in case of a 
ongoing leader election
                 Key: FLINK-9416
                 URL: https://issues.apache.org/jira/browse/FLINK-9416
             Project: Flink
          Issue Type: Bug
          Components: Client
    Affects Versions: 1.5.0, 1.6.0
            Reporter: Till Rohrmann


When starting a session cluster, it can happen that the job submission fails if 
the REST server endpoint has already gained leadership but if the leadership 
election for the {{Dispatcher}} is still ongoing. In such a case, we receive a 
error response saying that the leader election is still ongoing and fail the 
job submission. I think it would be nicer to also make the submission step a 
retriable operation in order to avoid this race condition.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to