Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG/MINOR: server: make sure the HMAINT state is part of MAINT
In 1.8 when adding "set server fqdn" with commit b418c12 ("MINOR: server: cli: Add server FQDNs to server-state file and stats socket."), the HMAINT flag was not made part of the MAINT ones, so technically speaking when changing the FQDN, the server is not completely considered as in maintenance mode. In its defense, the code location around that was completely messy, with the aggregator flag being hidden between other values and purposely but discretely ignoring one of the flags, so the comments were updated to make the intent clearer (particularly regarding CMAINT which looked like it was also forgotten while it was on purpose). This can be backported anywhere. (cherry picked from commit a4d04c6) Signed-off-by: Christopher Faulet <[email protected]> (cherry picked from commit f882ef8) Signed-off-by: Christopher Faulet <[email protected]> (cherry picked from commit 426d8f7) Signed-off-by: Christopher Faulet <[email protected]>
- Loading branch information