proxmox-backup/pbs-client
Thomas Lamprecht 33da703c8e client: pxar: regression-test chunk identity end_offset population
Builds a synthetic three-chunk dynamic index with a digest collision
at distinct positions and asserts lookup_dynamic_entries populates
end_offset from dynamic_entry.end(). A regression that swaps in a
range-relative value (size, prev_end) is caught here, before it would
manifest as backwards PXAR_PAYLOAD_REF offsets downstream.

It's narrow on purpose, well more due to the limitations of current
test harness, anyhow: pins the identity the chunk-reuse predicate
relies on, but does not exercise the predicate's call sites, the
debug-mode underflow at the threshold-padding subtraction, or
end-to-end PXAR_PAYLOAD_REF monotonicity. A behavioral test on the
full flush path is followup work.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2026-04-28 14:46:35 +02:00
..
src client: pxar: regression-test chunk identity end_offset population 2026-04-28 14:46:35 +02:00
Cargo.toml traffic control: use factored out shared rate limiter 2025-11-21 19:44:26 +01:00