Client: Retry a SYNC failed by a dropped connection by timer #182

Open
koolkhel wants to merge 1 commits from koolkhel/vitastor:client-sync-retry-timer into master

1 Commits

Author SHA1 Message Date
95af78c454 Client: Retry a SYNC failed by a dropped connection by timer
A SYNC whose part failed with -EPIPE (or -EAGAIN, -EIO, -ENOSPC) was put
back to state 0 without a retry timer, so it only resumed on the next
continue_ops(). When a primary OSD drops with a SYNC in flight, the
writes repeated for it go ahead of the SYNC, and the SYNC resumes only
after they complete on the new primary. That happens after the peer and
PG events, so nothing continued the SYNC any more, and it and every write
queued after it hung until some unrelated event.

Arm the retry timer for it, as a failed write does.
2026-11-25 02:45:39 +03:00