test_pg_chaos: Don't run deferred recovery checks on objects with an operation in flight #163

Open
koolkhel wants to merge 1 commits from koolkhel/vitastor:chaos-recover-busy into master

1 Commits

Author SHA1 Message Date
c758cdc567 test_pg_chaos: Don't run deferred recovery checks on objects with an operation in flight
flush_recover_pending() runs from settle() while client operations are
in flight, so check_recovered() could read an object the model was still
writing to. Such a read may legally return a per-block mix of the old and
the new data, which no single world of the recorded versions explains,
and the checker aborted although nothing was lost.

Skip busy objects. They are checked again by a later settle or by the
convergence loop after drain().
2026-11-23 13:44:28 +03:00