mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-14 19:50:38 +00:00
diagnosis: with the debug cruft from previous commit, we see "thread_local_system" hang forever
The reason is likely that one spawned IO futures kicks off thread_local_system launch, then returns Pending. Another IO future observes the once cell already locked and waits for the first future to finish. But that never happens. It's a sort of priority inversion.
This commit is contained in: