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

   ## What changes were proposed in this pull request?
   Further speed up TestUnhealthyContainersDerbyPerformance by using `BETWEEN` 
predicate instead of many `IN` clauses while deleting the contiguous container 
IDs
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-15582
   
   Please create an issue in ASF JIRA before opening a pull request, and you 
need to set the title of the pull
   request which starts with the corresponding JIRA issue number. (e.g. 
HDDS-XXXX. Fix a typo in YYY.)
   
   If you do not have an ASF Jira account yet, please follow the first-time 
contributor
   instructions in the [Jira guideline](../CONTRIBUTING.md#jira-guideline).
   
   (Please replace this section with the link to the Apache JIRA)
   
   ## How was this patch tested?
   Ran the test locally and the elapsed time of this run is significantly 
reduced from ~313s to ~59s:
   ```
   [INFO] Running 
org.apache.hadoop.ozone.recon.persistence.TestUnhealthyContainersDerbyPerformance
   
   [INFO] Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 
58.63 s -- in 
org.apache.hadoop.ozone.recon.persistence.TestUnhealthyContainersDerbyPerformance
   ```
   


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