bharatviswa504 commented on issue #690: HDDS-3221. Refactor SafeModeHandler to 
use a Notification Interface
URL: https://github.com/apache/hadoop-ozone/pull/690#issuecomment-600851742
 
 
   > Thanks @sodonnel for working on this.
   > 
   > I feel that instead of maintaining safemode state at different places, it 
should be maintained in one single place and that value should be accessed 
where ever required.
   > 
   > Safemode state change event handler should only worry about starting the 
services that are required to be started while coming out of safemode.
   > 
   > I agree that the existing code doesn't reflect this, I have always wanted 
to make this change.
   
   For cases like clientProtocolServer, blockManager we have a check in 
safemode not allow few operations. So, these cannot be handled by 
safemodehandler. Otherwise I need to pass safemodehandler object to those 
classes. I am talking about the current code.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to