sravani-revuri opened a new pull request, #12148:
URL: https://github.com/apache/ozone/pull/12148

   ## What changes were proposed in this pull request?
   
   The description of ozone.recon.export.max.jobs.total in ozone-default.xml 
and the Javadoc of ReconServerConfigKeys.OZONE_RECON_EXPORT_MAX_JOBS_TOTAL say 
it is the maximum number of export jobs "(waiting + executing)". 
ExportJobManager.submitJob compares the limit with jobQueue.size(), and 
ExportJobManager.executeExport removes a job from jobQueue when it starts, so 
the running job is not counted. The limit applies to waiting jobs only; one 
running job can exist on top of it. Until 
[HDDS-17391](https://issues.apache.org/jira/browse/HDDS-17391) is fixed, a job 
whose directory creation failed also stays in jobQueue and counts against the 
limit, although it is neither waiting nor executing.
   
   TestExportJobManager#submitQueueFullThrows asserts the code's behaviour: 
with the limit at 1 it accepts one running and one waiting job and rejects the 
third.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-17393
   
   ## How was this patch tested?
   
   ran submitQueueFullThrows to confirm behaviour.


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