G5-5 round 12 part B: fix walstore filename v1.walstore → v1.bin

m01verify in verify_byte_equal expected v1.walstore but
durable provider's volumePath uses VolumeID+".bin" (provider.go:133).
Same fix in verify_network_catchup and verify_restart_catchup
helpers if they reference the file path.
This commit is contained in:
pingqiu committed 2026-04-27 01:39:03 -07:00
1 parent 2c1ee6e3e5
commit 8d6c4a807b
1 file changed
+1 -1
@@ -409,7 +409,7 @@ echo "WROTE-LBA-0-PATTERN-AB"
$SSH_M02 "sudo pkill -TERM -f '[g]5-blockvolume.*server-id m02-replica' && sleep 2"
# m01verify reads replica's walstore
local out
out=$($SSH_M02 "/tmp/g5-m01verify --walstore ${REMOTE_RUN_DIR}/replica-store/v1.walstore --lba-start 0 --lba-count 1 --block-size 4096 --expected-pattern ab 2>&1")
out=$($SSH_M02 "/tmp/g5-m01verify --walstore ${REMOTE_RUN_DIR}/replica-store/v1.bin --lba-start 0 --lba-count 1 --block-size 4096 --expected-pattern ab 2>&1")
log " m01verify output: ${out}"
echo "${out}" | grep -q '^OK ' || die "byte-equal verify failed: ${out}"
# Restart replica for subsequent steps