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

   ## What changes were proposed in this pull request?
   Even after [HDDS-14622](https://issues.apache.org/jira/browse/HDDS-14622), 
OM DB compaction test still encounters intermittent failure:
   
   ```
   
https://github.com/apache/ozone/actions/runs/28952848017/job/85906945842#step:13:663
   om1-1  | 2026-07-08 15:35:19,433 [ForkJoinPool.commonPool-worker-2] INFO 
om.OzoneManager: Compaction request for column family "fileTable" completed 
successfully.
   om1-1  | 2026-07-08 15:35:22,874 [ForkJoinPool.commonPool-worker-2] INFO 
om.OzoneManager: Compaction request for column family "deletedTable" completed 
successfully.
   om1-1  | 2026-07-08 15:35:25,216 [ForkJoinPool.commonPool-worker-2] INFO 
om.OzoneManager: Compaction request for column family "deletedDirectoryTable" 
completed successfully.
   OM DB size should be reduced after compaction. Before: 65155, After: 103393
   ERROR: Test execution of ozonesecure-ha/test-repair-tools.sh is FAILED!!!!
   ```
   
   
   
   Deletion is an asynchronous process and the old test ran the compaction as 
soon as deletion started . There could be a situation where deletion is not yet 
completed and compaction is run. In this case new sst files are written which 
causes a higher number even after compaction is run , causing the test to fail 
intermittently.
   The test now waits for deletion to complete and then runs compaction.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-15789
   
   ## How was this patch tested?
   
   https://github.com/sravani-revuri/ozone/actions/runs/33398347599
   
   sample output:
   
   ```
   OM DB SST size before compaction: 65014
   OM DB SST size after compaction: 28382
   ```
   


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