ceremonyclient/pebble/testdata/batch_reader

99 lines
2.0 KiB
Plaintext
Raw Permalink Normal View History

2024-01-03 07:31:42 +00:00
scan
----
Count: 0
eof
scan
ffffffffffffffffffffffffffffffffffffffffffffffff
----
Count: 4294967295
err: invalid key kind 0xff: pebble: invalid batch
scan
0000000000000000 01000000 # Seqnum = 0, Count = 1
00 01 61 # DEL "a"
----
Count: 1
DEL: "a": ""
eof
scan
0000000000000000 01000000 # Seqnum = 0, Count = 1
01 01 62 01 62 # SET "b" = "b"
----
Count: 1
SET: "b": "b"
eof
scan
0000000000000000 01000000 # Seqnum = 0, Count = 1
01 01 62 01 62 # SET "b" = "b"
----
Count: 1
SET: "b": "b"
eof
scan
0000000000000000 02000000 # Seqnum = 0, Count = 2
00 01 61 # DEL "a"
01 01 62 01 62 # SET "b" = "b"
----
Count: 2
DEL: "a": ""
SET: "b": "b"
eof
scan
0000000000000000 03000000 # Seqnum = 0, Count = 3
00 01 61 # DEL "a"
01 01 62 01 62 # SET "b" = "b"
0F 01 62 01 63 # RANGEDEL "b" = "c"
----
Count: 3
DEL: "a": ""
SET: "b": "b"
RANGEDEL: "b": "c"
eof
scan
0000000000000000 03000000 # Seqnum = 0, Count = 3
00 01 61 # DEL "a"
01 01 62 01 62 # SET "b" = "b"
0F 01 62 01 # RANGEDEL "b"... missing end key string data
----
Count: 3
DEL: "a": ""
SET: "b": "b"
err: decoding RANGEDEL value: pebble: invalid batch
scan
0000000000000000 03000000 # Seqnum = 0, Count = 3
00 01 61 # DEL "a"
01 01 62 01 62 # SET "b" = "b"
0F 01 62 01 # RANGEDEL "b"... missing end key string data
----
Count: 3
DEL: "a": ""
SET: "b": "b"
err: decoding RANGEDEL value: pebble: invalid batch
scan
0000000000000000 03000000 # Seqnum = 0, Count = 3
00 01 61 # DEL "a"
01 01 62 01 62 # SET "b" = "b"
1F 01 62 01 # "1F" kind is garbage
----
Count: 3
DEL: "a": ""
SET: "b": "b"
err: invalid key kind 0x1f: pebble: invalid batch
scan
0000000000000000 01000000 # Seqnum = 0, Count = 1
01 01 # SET missing user key string data
----
Count: 1
err: decoding user key: pebble: invalid batch