Store v2: Do not return unstable entries beyond the listing page #136

Merged
vitalif merged 1 commits from koolkhel/vitastor:list-trim-unstable into master 2026-11-21 11:26:03 +03:00

1 Commits

Author SHA1 Message Date
5bcffd061e Store v2: Do not return unstable entries beyond the listing page
BS_OP_LIST with list_stable_limit promises unstable versions only from
the range of the returned stable objects, and the old store keeps to it.
The new store returned every unstable version of the PG, so a paged
caller (scrub, locally or through SEC_LIST) got the ones past the page
and got them again with the next page. Drop them once the page is full,
also when it is filled exactly to the limit.
2026-11-20 07:42:21 +03:00