sodonnel opened a new pull request, #4220:
URL: https://github.com/apache/ozone/pull/4220

   ## What changes were proposed in this pull request?
   
   In order to allow replication commands intended to fix under and 
mis-replication to run with higher priority that replication commands related 
to the balancer, we will change the replication supervisor to be a priority 
queue, ordered by priority, enqueue time.
   
   Commands sent from the balancer will have a low priority, other commands 
will a normal priority. The default will be NORMAL. This means that balancer 
commands will not run while there are other replication commands present in the 
queue.
   
   This means it is not important if the balancer adds a lot of replication 
commands to the queue and then some nodes go down in the cluster. The 
replication commands related to the down nodes will automatically get to the 
front of the queue.
   
   Note that this change does not modify the balancer to sent low priority 
commands, and all commands sent from SCM will be NORMAL priority for now. 
Another Jira will make changes to the balancer to send its replicate commands 
with low priority.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7844
   
   ## How was this patch tested?
   
   Add tests to the supervisor to validate the priority ordering works as 
expected.
   


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