osd: Test a rewrite after a delete that missed a down OSD #147

Open
koolkhel wants to merge 2 commits from koolkhel/vitastor:pg-epoch-rewrite-test into master

2 Commits

Author SHA1 Message Date
3d77ac4a79 osd: Note that the rewrite test covers deletes without tombstones
A tombstone delete allocates and reports a version like a write, so
the epoch can't regress after it. The test runs the legacy delete,
which Store v1 and a PG with a member lacking tombstone support use.
2026-11-22 22:14:23 +03:00
e23a6eba44 osd: Test a rewrite after a delete that missed a down OSD
A delete reaches the live OSDs only, the degraded PG re-peers, the
object is written again and the down OSD returns. The rewrite must get
a version newer than the copy that OSD kept, or peering takes the stale
copy for current. Covers b1fd7548 end to end for a replicated and an
EC 2+1 pool.
2026-11-22 17:37:38 +03:00