Client: Keep the listing timer armed while PGs wait to become active #201

Merged
vitalif merged 1 commits from koolkhel/vitastor:list-wait-up-timer into master 2026-11-29 14:15:56 +03:00

1 Commits

Author SHA1 Message Date
36bdad37b5 Client: Keep the listing timer armed while PGs wait to become active
A PG listing that waits for the PG to become active checks its deadline
only when continue_lists() runs, and the listing timer is armed only for
the earliest deadline. When the timer fired for one PG, PGs that started
waiting later were left without a timer, so the listing (and rm-data)
waited for an unrelated etcd event instead of failing after
client_wait_up_timeout. Re-arm the timer for such PGs, as is already done
for PGs that wait to retry a listing.
2026-11-29 09:57:35 +03:00