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

   ## What changes were proposed in this pull request?
   
   A refactor or the existing ReplicationSupervisor so we can have the same 
supervisor (and threadpool) manage both Replication and EC Reconstruction tasks.
   
   This change does not include moving the EC tasks into the 
ReplicationSupervisor - that will be done in another PR as this one is already 
large enough with this change.
   
   This change makes ReplicationSupervisor accept AbstractReplicationTask's 
rather than a ReplicationTask, so we can have a version for EC Reconstruction 
and Ratis.
   
   This results in the ReplicationTask having a `runTask()` method so it 
contains the knowledge of how to run itself and the supervisor can simply check 
the state. The choice of Replicator (push or download) is decided in the 
ReplicateContainerCommandHandler and a reference to the correct replicator is 
stored in the task. Previously it was decided inside the ReplicationSupervisor.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-7833
   
   ## How was this patch tested?
   
   Small change to one unit test and other existing tests should cover this.
   


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