From 556b4e0e534eed6eb23b0c9871cdbc399b045ae0 Mon Sep 17 00:00:00 2001 From: Radu Berinde Date: Tue, 12 Dec 2023 11:31:24 -0800 Subject: [PATCH] sstable: update fixtures to TableFormatPebblev1 We regenerate the fixtures at the Pebblev1 version - earlier versions will soon be deprecated. --- sstable/test_fixtures.go | 2 + sstable/testdata/h.no-compression.sst | Bin 28408 -> 28271 bytes .../h.no-compression.two_level_index.sst | Bin 28539 -> 28402 bytes sstable/testdata/h.sst | Bin 15432 -> 15295 bytes ...n.prefix_extractor.no_whole_key_filter.sst | Bin 30716 -> 30579 bytes .../testdata/h.table-bloom.no-compression.sst | Bin 30697 -> 30560 bytes sstable/testdata/h.table-bloom.sst | Bin 17722 -> 17585 bytes sstable/testdata/h.zstd-compression.sst | Bin 11826 -> 11689 bytes tool/testdata/sstable_layout | 107 ++++++++---------- 9 files changed, 52 insertions(+), 57 deletions(-) diff --git a/sstable/test_fixtures.go b/sstable/test_fixtures.go index 18529ca850..072c841e57 100644 --- a/sstable/test_fixtures.go +++ b/sstable/test_fixtures.go @@ -144,6 +144,7 @@ func buildHamletTestSST( FilterType: ftype, IndexBlockSize: indexBlockSize, MergerName: "nullptr", + TableFormat: fixtureFormat, } if propCollector != nil { writerOpts.TablePropertyCollectors = append(writerOpts.TablePropertyCollectors, propCollector) @@ -286,6 +287,7 @@ func (tf TestFixtureInfo) Build(fs vfs.FS, filename string) error { const fixtureDefaultIndexBlockSize = math.MaxInt32 const fixtureSmallIndexBlockSize = 128 const fixtureBlockSize = 2048 +const fixtureFormat = TableFormatPebblev1 type keyCountPropertyCollector struct { count int diff --git a/sstable/testdata/h.no-compression.sst b/sstable/testdata/h.no-compression.sst index 6b3c7f28c02636f6e018d574db9c6a9b9a6a214f..b5f1f075e63c0ad9f475a3eba630559474064a66 100644 GIT binary patch delta 98 zcmexym+}1_#tpx+S-7N<^CyesES`KkCxxGbizzcNCAC7YII}AC6w~Cc+@Q(tb9-1^ zDj$kYuFsQTI>$13W}X^fm*mC-#&5S7?blyqJjyirVxIKm2YD0u^ISSn2Iy2Qcp4Qi7}QX=9H%D0cBHCb4n8RQuC7YQ&LkHCX3_- z3Gp-L=cJ?-mw*j`Se=^NE2pn_;s}EfYf*l3c5zCQUO`cQL26M+W@_=`>x|b~Cky1M fv0LALc8l@)EL>8_`I8HC7Ee~mO_AjgV9d-*Nv+T;NGvMJEXmBzD`w_nVJgn7 zN}a(x`D<>_ME>20(D=5k@NChfSEpE8M_=RP%OuicLL;Yz7 f8GqhkwC}#c=r%bpUyhG~fsuiM;lun@n?V==kf}0o delta 258 zcmex#m+|*K#tq>)QUa{W`8lPzd3tGyxtTeYdYLKzfq${7#FEVX zJiU_4+*F3i|8i1tx%e0>Qd9J@Q!DjyQuESFG8i~{8S{&B6HD~UQj3a#iWxXW88h=z zQY*lUGK=*}i&Kk0Yz96q#)8D6l1z}1#msyxOvRa1sWX`Q#2CvGb4pY7fNE1xb4n8R zQuC7YQ&LkHCfDZ%3Gp-L=cJ?-mw=6fIOIa^QaS&hPOS_=tVQ|B*~KYIdId%K1*t%@ qQ;QpJF#ctoJULH|z0U2#YR0B}lMm#n@h~wkFnmA%rFFaGqYeOHt6vTP diff --git a/sstable/testdata/h.sst b/sstable/testdata/h.sst index cc5c23b4a488fb30f3377d0754ba58525a0088e4..5e6e331acc61d07d37551894b0bdc565970da964 100644 GIT binary patch delta 94 zcmX?6vA=vnh$Rb`RC500Jj*$grL20X>OigT4HWyPNiOE%6}kW=i-o>9AP;}fRl%@C^fMpGe1wS zBr`XaVe%KtryDXA$8lbOnb zg!mcrb5c@^OTY#|tPUOl$d<7%$4Z@>tum)E%rKt|MwU#y_@VryDXA$8lbOnb zg!mcrb5c@^OTY#|tPU=VXL*qnab@zhGFPUvtdswiX|d0~Ewz_%|GUY0keaOIG)I7whp{L%u_QA; zPp>31H~8w z)C#bo%woOL;?yD#n}LsosW`JL^(Ygc7-LytPHCzhP&OqsrzBA?H7_|oB{hX%a)@(~ z5Ifq~(}{8gJl F7yuYSC3gS- delta 250 zcmZ1(y(wmcgSM0aYjS>0X>OigT4HWyPNiOE%6}kW=i-o>?4mtOfRl%@C^fMpGe1wS zBr`XaVe&ogz22(c99CubL@B