szetszwo commented on PR #9953:
URL: https://github.com/apache/ozone/pull/9953#issuecomment-4136793226

   > ... smaller clusters or cluster's without any pending logs may be impacted 
by redundant refresh calls.
   
   Refreshing the safemode rules in applyTransaction actually is a big mistake 
-- applyTransaction is the critical path of the StateMachine, adding 
unnecessary operations there is going to slow down everything.
   
   In contrast, refreshing the safemode rules every 5s is not going to have any 
measurable performance impact.  Hypothetically, if refreshing every 5s is not 
okay, then refreshing it applyTransaction is definitely much worse since there 
are thousands of applyTransaction ops per second.


-- 
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