forked from hachi/MogileFS-Server
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
If monitor worker figures master DB is down, send a flag telling workers to avoid attempting to connect to the master. If a worker is already connected and it functions, it will ignore the flag. If a worker is starting up or reconnecting to the master, it will avoid the attempt. After this commit a timed-out master DB will finally not cause the tracker to fail, and reads will continue to work. Takes almost a minute to notice the master is gone though. some room for improvement there.
- Loading branch information
Showing
3 changed files
with
33 additions
and
10 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