You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* drop `_heartbeat_lock` from `Controller` and the two `with`-blocks
that use it (around `_sync_all_execution_units` and
`_sync_direct_provider`)
* only one thread ever acquired it: `start()` spawns either
`_run_provider_loop` or `_run_direct_provider_loop`, never both, and
each loop round runs sequentially
* checkpointing no longer contends for the lock either[^1], so every
acquisition was uncontended
[^1]: backup reads via a dedicated RO connection and each heartbeat
round commits as an atomic batch
Co-authored-by: Rafal Wojdyla <ravwojdyla@gmail.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments