github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/tool/testdata/wal_dump (about) 1 wal dump 2 ---- 3 requires at least 1 arg(s), only received 0 4 5 wal dump 6 ../testdata/db-stage-2/000002.log 7 ---- 8 000002.log 9 0(21) seq=10 count=1 10 SET(test formatter: foo,test value formatter: one) 11 32(21) seq=11 count=1 12 SET(test formatter: bar,test value formatter: two) 13 64(23) seq=12 count=1 14 SET(test formatter: baz,test value formatter: three) 15 98(22) seq=13 count=1 16 SET(test formatter: foo,test value formatter: four) 17 131(17) seq=14 count=1 18 DEL(test formatter: bar) 19 EOF 20 21 wal dump 22 ../testdata/db-stage-2/000002.log 23 --key=pretty:leveldb.BytewiseComparator 24 --value=size 25 ---- 26 000002.log 27 0(21) seq=10 count=1 28 SET(foo,<3>) 29 32(21) seq=11 count=1 30 SET(bar,<3>) 31 64(23) seq=12 count=1 32 SET(baz,<5>) 33 98(22) seq=13 count=1 34 SET(foo,<4>) 35 131(17) seq=14 count=1 36 DEL(bar) 37 EOF 38 39 wal dump 40 --key=pretty:leveldb.BytewiseComparator 41 --value=size 42 ../testdata/db-stage-4/000005.log 43 ---- 44 000005.log 45 0(22) seq=15 count=1 46 SET(foo,<4>) 47 33(22) seq=16 count=1 48 SET(quux,<3>) 49 66(17) seq=17 count=1 50 DEL(baz) 51 EOF 52 53 wal dump 54 ../testdata/db-stage-4/000005.log 55 --key=%x 56 --value=%x 57 ---- 58 000005.log 59 0(22) seq=15 count=1 60 SET(666f6f,66697665) 61 33(22) seq=16 count=1 62 SET(71757578,736978) 63 66(17) seq=17 count=1 64 DEL(62617a) 65 EOF 66 67 wal dump 68 ../testdata/db-stage-4/000005.log 69 --key=pretty:leveldb.BytewiseComparator 70 --value=pretty:test-comparer 71 ---- 72 000005.log 73 0(22) seq=15 count=1 74 SET(foo,test value formatter: five) 75 33(22) seq=16 count=1 76 SET(quux,test value formatter: six) 77 66(17) seq=17 count=1 78 DEL(baz) 79 EOF 80 81 wal dump 82 ../testdata/db-stage-4/000005.log 83 --key=pretty:test-comparer 84 --value=%x 85 ---- 86 000005.log 87 0(22) seq=15 count=1 88 SET(test formatter: foo,66697665) 89 33(22) seq=16 count=1 90 SET(test formatter: quux,736978) 91 66(17) seq=17 count=1 92 DEL(test formatter: baz) 93 EOF 94 95 wal dump 96 ../testdata/db-stage-4/000005.log 97 --key=pretty:leveldb.BytewiseComparator 98 --value=quoted 99 ---- 100 000005.log 101 0(22) seq=15 count=1 102 SET(foo,five) 103 33(22) seq=16 count=1 104 SET(quux,six) 105 66(17) seq=17 count=1 106 DEL(baz) 107 EOF 108 109 wal dump 110 ./testdata/mixed/000004.log 111 ---- 112 000004.log 113 0(42) seq=39 count=4 114 SET(test formatter: a@2,test value formatter: ) 115 RANGEKEYSET(test formatter: a-test formatter: z:{(#40,RANGEKEYSET,@3)}) 116 RANGEKEYUNSET(test formatter: a-test formatter: z:{(#41,RANGEKEYUNSET,@4)}) 117 RANGEKEYDEL(test formatter: a-test formatter: b:{(#42,RANGEKEYDEL)}) 118 EOF