Files
scylladb/service
Tomasz Grabiec 2811b1df0a topology_coordinator: Fix missed notification on abort
If _as is aborted while the coordinator is in the middle of handling,
and decides to go to sleep, it may go to sleep without noticing that
it was aborted. Fix by checking before blocking on the condition
variable.

In general, every condition which can cause signal() should be checked
before when(). This patch doesn't fix all the cases. For example,
signal() can be called when there arrives a new topology request. This
can happen after the coordinator checked because it releases the guard
before calling when().
2023-07-31 01:45:23 +02:00
..
2023-06-06 13:29:16 +03:00