kokonguyen191 opened a new pull request, #8509:
URL: https://github.com/apache/hadoop/pull/8509

   ### Description of PR
   
   Currently, all 3 kinds of NNs trigger rollEditLog at some time interval and 
based on the number of edits using a threshold check.
   
   If a subcluster has a lot of observers, active can roll very frequently, up 
to dozens of times per hour. This ticket aims improve that via 2 configurable 
features:
   - Only active should perform rollEditLog periodically, and it should 
guarantee a roll as long as there's something to roll, at a reasonable interval.
   - Standby and observer NNs can opt out of sending rollEditLog.
   
   ### How was this patch tested?
   
   UT, and a small test cluster of a few nodes.


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