Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FLINK-19557] Trigger LeaderRetrievalListener notification upon ZooKe…
…eper reconnection in ZooKeeperLeaderRetrievalService We have to trigger the LeaderRetrievalListener notification upon reconnecting to ZooKeeper because the NodeCache might not trigger the nodeChanged call if the server state is the same as the state cached in the NodeCache. Therefore, we would miss to tell the listener that the old leader (before the connection loss) is still the valid leader.
- Loading branch information
1 parent
05f67a5
commit a606f61
Showing
2 changed files
with
106 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters