rionmonster opened a new pull request, #2265:
URL: https://github.com/apache/fluss/pull/2265

   ### Purpose
   
   Linked issue: close #2262  
   
   Per Issue https://github.com/apache/fluss/issues/2262, this pull request 
addresses a race condition that could sometimes occur and result in the 
`IcebergRewriteITCase.testLogTableCompaction` test case failing (particularly 
during CI builds). 
   
   ### Brief change log
   
   This change updates the `triggerSnapshotTaskWithRetry` test with an 
additional call to the existing `assertReplicaStatus()` function to ensure that 
the associated tiering job had fully processed the previous rewrites to avoid 
the race condition prior to the subsequent assertions.
   
   ### Tests
   
   The `IcebergRewriteITCase.testLogTableCompaction` was initially updated to 
use an iterative approach (e.g., repeat 50 times) as mentioned in the original 
issue to reproduce the issue. After this was repeatably reproducible, the 
proposed fixwas introduced to verify the test would repeatedly pass through all 
of the iterations.
   
   ### API and Format
   
   N/A
   
   ### Documentation
   
   N/A
   


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

Reply via email to