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

Losing leadership does not clear rpc connection in JobManagerLeaderListener

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      When losing the leadership the JobManagerLeaderListener closes the current rpcConnection but does not clear the field. This can lead to a failure of JobManagerLeaderListener#reconnect if this method is called after the JobMaster has lost its leadership.

      I propose to clear the field so that RegisteredRpcConnection#tryReconnect won't be called on a closed rpc connection.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              trohrmann Till Rohrmann
              Reporter:
              trohrmann Till Rohrmann

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 20m
                20m

                  Issue deployment