ceremonyclient/pebble/tool/testdata/wal_dump
Cassandra Heart 2e2a1e4789
v1.2.0 (#31)
2024-01-03 01:31:42 -06:00

119 lines
2.3 KiB
Plaintext

wal dump
----
requires at least 1 arg(s), only received 0
wal dump
../testdata/db-stage-2/000002.log
----
000002.log
0(21) seq=10 count=1
SET(test formatter: foo,test value formatter: one)
32(21) seq=11 count=1
SET(test formatter: bar,test value formatter: two)
64(23) seq=12 count=1
SET(test formatter: baz,test value formatter: three)
98(22) seq=13 count=1
SET(test formatter: foo,test value formatter: four)
131(17) seq=14 count=1
DEL(test formatter: bar)
EOF
wal dump
../testdata/db-stage-2/000002.log
--key=pretty:leveldb.BytewiseComparator
--value=size
----
000002.log
0(21) seq=10 count=1
SET(foo,<3>)
32(21) seq=11 count=1
SET(bar,<3>)
64(23) seq=12 count=1
SET(baz,<5>)
98(22) seq=13 count=1
SET(foo,<4>)
131(17) seq=14 count=1
DEL(bar)
EOF
wal dump
--key=pretty:leveldb.BytewiseComparator
--value=size
../testdata/db-stage-4/000005.log
----
000005.log
0(22) seq=15 count=1
SET(foo,<4>)
33(22) seq=16 count=1
SET(quux,<3>)
66(17) seq=17 count=1
DEL(baz)
EOF
wal dump
../testdata/db-stage-4/000005.log
--key=%x
--value=%x
----
000005.log
0(22) seq=15 count=1
SET(666f6f,66697665)
33(22) seq=16 count=1
SET(71757578,736978)
66(17) seq=17 count=1
DEL(62617a)
EOF
wal dump
../testdata/db-stage-4/000005.log
--key=pretty:leveldb.BytewiseComparator
--value=pretty:test-comparer
----
000005.log
0(22) seq=15 count=1
SET(foo,test value formatter: five)
33(22) seq=16 count=1
SET(quux,test value formatter: six)
66(17) seq=17 count=1
DEL(baz)
EOF
wal dump
../testdata/db-stage-4/000005.log
--key=pretty:test-comparer
--value=%x
----
000005.log
0(22) seq=15 count=1
SET(test formatter: foo,66697665)
33(22) seq=16 count=1
SET(test formatter: quux,736978)
66(17) seq=17 count=1
DEL(test formatter: baz)
EOF
wal dump
../testdata/db-stage-4/000005.log
--key=pretty:leveldb.BytewiseComparator
--value=quoted
----
000005.log
0(22) seq=15 count=1
SET(foo,five)
33(22) seq=16 count=1
SET(quux,six)
66(17) seq=17 count=1
DEL(baz)
EOF
wal dump
./testdata/mixed/000004.log
----
000004.log
0(42) seq=30 count=4
SET(test formatter: a@2,test value formatter: )
RANGEKEYSET(test formatter: a-test formatter: z:{(#31,RANGEKEYSET,@3)})
RANGEKEYUNSET(test formatter: a-test formatter: z:{(#32,RANGEKEYUNSET,@4)})
RANGEKEYDEL(test formatter: a-test formatter: b:{(#33,RANGEKEYDEL)})
EOF