-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FFM-11569 Periodically send the most recent stream status to Replicas (…
…#311) * FFM-11569 Periodically send the most recent stream status to Replicas **What** - Starts a thread in the Primary Proxy that sends the most recent stream status to replicas every 20 seconds **Why** - To mitigate the risk of a replica missing a stream connect/disconnect event from the primary due to a network issue with redis **Testing** - Tested locally by putting a nginx proxy in between my local Proxy & redis and a local http proxy between my primary and Saas. When I kill the nginx proxy and the http proxy I can see the Primary the primary fails to send connect/disconnect events to the replica and the replica has the incorrect state. When I bring nginx back up to simulate the redis connection coming back up I can see the replica now gets the correct stream state rather than being stuck
- Loading branch information
Showing
7 changed files
with
70 additions
and
20 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
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
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
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