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

   ## What changes were proposed in this pull request?
   
   Recon utilises a background task known as `PipeLineSyncTask` to manage tasks 
like creating and removing pipelines. This task operates discreetly in the 
background, executing every 5 minutes. During Recon's initial startup, the task 
is triggered, successfully registering existing Ratis Pipelines.
   
   However, when utilising EC replication to create a key, a separate EC 
pipeline is generated. While this EC pipeline swiftly establishes itself in the 
cluster, Recon initially avoid's registering it. The registration takes place 
during the periodic execution of the PipelineSyncTask every 5 minutes.
   
   To address the delay in pipeline registration, we've made modifications to 
the code within `ReconContainerManager`. Now, when adding a new container to 
Recon, the code checks if the corresponding pipeline is present. If not, 
instead of bypassing the addition, the code creates the missing pipeline. This 
adjustment ensures that Recon promptly registers the new EC pipeline, reducing 
the delay.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9898
   ## How was this patch tested?
   
   I have created unit tests for it and have also manually tested it using the 
local Docker setup.
   
   
   


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