p-eye opened a new pull request, #10913:
URL: https://github.com/apache/paimon/pull/10913

   ### Purpose
   
   `AppendTableCompactSource`, `CombinedAppendCompactStreamSource` and 
`CombinedAwareStreamingSource` call `Thread.sleep` in `pollNext` when there is 
nothing to compact. This blocks the mailbox thread, so the coordinator always 
reports 100% busy and checkpoint barriers wait for the sleep.
   
   Same fix as #9291 (`QueryFileMonitor`): return `NOTHING_AVAILABLE` and 
complete the `isAvailable()` future from a timer. The timer logic is shared in 
`DelayedAvailability`.
   
   ### Tests
   
   - `DelayedAvailabilityTest`
   - `AppendTableCompactSourceTest`
   - Combined readers are covered by the existing streaming cases in 
`CompactDatabaseActionITCase`


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