diff --git a/seaweed-block/core/storage/golden_v100_test.go b/seaweed-block/core/storage/golden_v100_test.go index 92fc5e770c..8969658b8a 100644 --- a/seaweed-block/core/storage/golden_v100_test.go +++ b/seaweed-block/core/storage/golden_v100_test.go @@ -78,8 +78,8 @@ func gitBlobHash(b []byte) string { } // formatV3AtV100 is every file of testdata/format_v3 as the v1.0.0 tag -// (bef007fd) holds it (git ls-tree), plus write.bin, generated on that tag -// checkout. A fixture edit fails here, so it cannot hide a format change. +// (bef007fd) holds it (git ls-tree), plus write.bin and chunkpresence.txt, +// generated on that tag checkout. A fixture edit fails here, so it cannot hide a format change. var formatV3AtV100 = map[string]string{ "README.md": "b035e86b4e4cb477aa7e0f92e355e2e3c23462b8", "additional-vectors.json": "c8399b6697ff837cee3139074e77b20aa1e2af3a", @@ -116,6 +116,7 @@ var formatV3AtV100 = map[string]string{ "slot/slot-ref.bin": "de0e54a73d0735d91d648a538386b2e1af1564bd", "slot/slot-strict.bin": "2e0e805b91bcb23d74a2f4d07b0518b74751f604", "trim.bin": "c662538d82a4b075a295db9d5d3bd34315fd9265", + "chunkpresence.txt": "d06c82ca8c5d1f4f2fe41b246f62dd25e7606130", "write.bin": "1d64f4c41851e7606f45b9846355cf7f3c18fb84", } diff --git a/seaweed-block/core/storage/testdata/format_v3/chunkpresence.txt b/seaweed-block/core/storage/testdata/format_v3/chunkpresence.txt new file mode 100644 index 0000000000..d06c82ca8c --- /dev/null +++ b/seaweed-block/core/storage/testdata/format_v3/chunkpresence.txt @@ -0,0 +1,4 @@ +absent 1 +absent 2 +absent 5 +local 22