QueryHandle::next_row_async
never schedules a waking task
#7999
Labels
Milestone
QueryHandle::next_row_async
never schedules a waking task
#7999
See:
The pending case just casually goes to sleep without ever scheduling a waking task. This will invariably lead to the async tasks deadlocking.
This needs to queue some task e.g. on the rayon threadpool in order to
waker.wake()
when the synchronous lock becomes available once again.No need for anything particularly fancy,
QueryHandle
is the least contended thing in the world.The text was updated successfully, but these errors were encountered: