diff options
| author | babenko <[email protected]> | 2026-06-14 13:56:25 +0300 |
|---|---|---|
| committer | babenko <[email protected]> | 2026-06-14 14:15:20 +0300 |
| commit | 3dd2984c36c7bc5b2df715faaf136f5e6ff6cd60 (patch) | |
| tree | a1575cede55d9418dfc5d3077ff2eeb662ed1672 /contrib/python/python-dateutil | |
| parent | 452c1196fb9ca018aabc3d2a2b2b6aa5c5879279 (diff) | |
Schedule out-of-band dequeue in TLogManager::Synchronize()
Synchronize() spins on SchedYield() waiting for FlushedEvents_ to catch
up with EnqueuedEvents_. Without this fix it relies on the 30 ms periodic
dequeue cycle, so each call can stall up to 30 ms.
With FlushLogAfterMutations enabled in cell_balancer tests, the binary
makes 3000+ Synchronize() calls per run. On an idle CI machine the binary
finishes in ~43 s; on a loaded one, where the logging thread is delayed,
it exceeds the 60 s SMALL-test timeout.
Fix: call DequeueExecutor_->ScheduleOutOfBand() at the top of
Synchronize() so the dequeue fires immediately instead of waiting for
the next periodic tick.
commit_hash:90efee0cca030024d04a7e9defd024f121684b9f
Diffstat (limited to 'contrib/python/python-dateutil')
0 files changed, 0 insertions, 0 deletions
