Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mon: validate states transmitted in beacons
Since FSMap was added, the state of a daemon can lead to an entirely invalid map, but we were letting daemons send any state they wanted. Especially, we must not allow standby daemons to set any state other than STANDBY. Fixes: http://tracker.ceph.com/issues/16592 Signed-off-by: John Spray <john.spray@redhat.com>
- Loading branch information
John Spray
committed
Jul 28, 2016
1 parent
1194331
commit 8a8c26b
Showing
4 changed files
with
45 additions
and
22 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