Store v1: Roll back over a stable deletion instead of returning EBUSY #220

Merged
vitalif merged 1 commits from koolkhel/vitastor:v1-rollback-stable-delete into master 2026-12-02 10:47:38 +03:00

1 Commits

Author SHA1 Message Date
acbc3c3e2a Store v1: Roll back over a stable deletion instead of returning EBUSY
LIST shows nothing for an object with a stable, not yet flushed deletion,
so with an unstable write above it peering asks to roll the object back
to 0. That rollback failed with EBUSY, and the PG re-peered and failed
again in a loop until the flusher got to the deletion, which may take a
long time on an idle OSD and is not cleared by a restart.

Stop the rollback at a stable deletion, as mark_rolled_back() and the
new store already do. A stable write above the target is still refused.
2026-12-02 01:50:38 +03:00