Only log host online events if host was offline
What does this MR do and why?
host_online
messages were generating the bulk of the 150K messages per minute that we're logging for database load balancing now that the logs are fixed.
These messages aren't necessary unless the online state of the host is changing, so only log them if the host was previously offline.
See #424391 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.