mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-11-07 06:19:43 -10:00
Turn submit no longer takes the tenant placement guard. Its Session row lock already orders it against lifecycle begin, and requireOpen's locking reads of the storage's alias (fence) and directory rows order it against migration fence installation and physical fencing. Migration prepare locks that fence row in migrationSource but could check idleness on a REPEATABLE READ snapshot taken before the lock. It now reads committed work on a separate autocommit connection after the lock, so a Turn admitted before it is seen and a later one is refused by the fence. Co-authored-by: Claude Opus 5.5 <[email protected]>