errose28 commented on PR #9376:
URL: https://github.com/apache/ozone/pull/9376#issuecomment-3617731224

   > We do not need again at regular interval,  its logged in below condition 
based on event
   
   The information logged here is not a duplicate of the event triggered rules 
in `safemodeExitRule#process`. Those display information about only their 
individual rule. Here we propose adding a summary message of all safemode rule 
statuses. This way you can `tail` a log file with `watch` + `grep` for the 
summary keyword to get a periodic update. This workflow is not currently 
possible which makes `tail`ing logs for safemode exit difficult.
   
   > CLI is present to have safemode rule info on need basis from leader
   
   CLI works when you have direct access to the cluster but not for offline 
analysis where we need to triage an issue from logs.
   
   > May be we need have support query safemode status from CLI as requirement 
from follower node also.
   
   Yes we should also circle back to HDDS-13832 and get that implemented as 
well. This is needed for rolling restart scenarios where we want to wait for 
the restarted follower to exit safemode before restarting another node.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to