mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-11-10 18:25:17 +00:00
153 lines
2.8 KiB
Plaintext
153 lines
2.8 KiB
Plaintext
load
|
|
----
|
|
malformed input:
|
|
|
|
load
|
|
a.SET.1:
|
|
----
|
|
pebble: external sstable has non-zero seqnum: a#1,SET
|
|
|
|
load
|
|
a.INVALID.0:
|
|
----
|
|
pebble: external sstable has corrupted key: a#0,INVALID
|
|
|
|
load
|
|
a.SET.0:
|
|
----
|
|
1: a#0,1-a#0,1
|
|
points: a#0,1-a#0,1
|
|
ranges: #0,0-#0,0
|
|
|
|
load
|
|
a.SET.0:
|
|
b.SET.0:
|
|
----
|
|
1: a#0,1-b#0,1
|
|
points: a#0,1-b#0,1
|
|
ranges: #0,0-#0,0
|
|
|
|
load
|
|
a.DEL.0:
|
|
----
|
|
1: a#0,0-a#0,0
|
|
points: a#0,0-a#0,0
|
|
ranges: #0,0-#0,0
|
|
|
|
load
|
|
a.DEL.0:
|
|
b.DEL.0:
|
|
----
|
|
1: a#0,0-b#0,0
|
|
points: a#0,0-b#0,0
|
|
ranges: #0,0-#0,0
|
|
|
|
load
|
|
a.MERGE.0:
|
|
----
|
|
1: a#0,2-a#0,2
|
|
points: a#0,2-a#0,2
|
|
ranges: #0,0-#0,0
|
|
|
|
load
|
|
a.MERGE.0:
|
|
b.MERGE.0:
|
|
----
|
|
1: a#0,2-b#0,2
|
|
points: a#0,2-b#0,2
|
|
ranges: #0,0-#0,0
|
|
|
|
load
|
|
a.RANGEDEL.0:b
|
|
----
|
|
1: a#0,15-b#72057594037927935,15
|
|
points: a#0,15-b#72057594037927935,15
|
|
ranges: #0,0-#0,0
|
|
|
|
load
|
|
a.SET.0:
|
|
a.RANGEDEL.0:b
|
|
----
|
|
1: a#0,15-b#72057594037927935,15
|
|
points: a#0,15-b#72057594037927935,15
|
|
ranges: #0,0-#0,0
|
|
|
|
load
|
|
a.SET.0:
|
|
a.RANGEDEL.0:b
|
|
----
|
|
1: a#0,15-b#72057594037927935,15
|
|
points: a#0,15-b#72057594037927935,15
|
|
ranges: #0,0-#0,0
|
|
|
|
load
|
|
b.SET.0:
|
|
a.RANGEDEL.0:b
|
|
----
|
|
1: a#0,15-b#0,1
|
|
points: a#0,15-b#0,1
|
|
ranges: #0,0-#0,0
|
|
|
|
# Loading tables at an unsupported table format results in an error.
|
|
# Write a table at version 7 (Pebble,v2) into a DB at version 6 (Pebble,v1).
|
|
load writer-version=8 db-version=7
|
|
a.SET.1:
|
|
----
|
|
pebble: table format (Pebble,v2) is not within range supported at DB format major version 7, ((LevelDB),(Pebble,v1))
|
|
|
|
# Tables with range keys only.
|
|
|
|
load writer-version=10 db-version=10
|
|
rangekey: a-z:{(#0,RANGEKEYSET,@1,foo)}
|
|
----
|
|
1: a#0,21-z#72057594037927935,21
|
|
points: #0,0-#0,0
|
|
ranges: a#0,21-z#72057594037927935,21
|
|
|
|
# Tables with a mixture of point and range keys.
|
|
|
|
load writer-version=10 db-version=10
|
|
a.SET.0:
|
|
b.SET.0:
|
|
c.SET.0:
|
|
rangekey: w-x:{(#0,RANGEKEYSET,@1,foo)}
|
|
rangekey: x-y:{(#0,RANGEKEYSET,@2,bar)}
|
|
rangekey: y-z:{(#0,RANGEKEYSET,@3,baz)}
|
|
----
|
|
1: a#0,1-z#72057594037927935,21
|
|
points: a#0,1-c#0,1
|
|
ranges: w#0,21-z#72057594037927935,21
|
|
|
|
load writer-version=10 db-version=10
|
|
c.SET.0:d
|
|
rangekey: a-z:{(#0,RANGEKEYSET,@1,foo)}
|
|
----
|
|
1: a#0,21-z#72057594037927935,21
|
|
points: c#0,1-c#0,1
|
|
ranges: a#0,21-z#72057594037927935,21
|
|
|
|
load writer-version=10 db-version=10
|
|
a.SET.0:z
|
|
rangekey: c-d:{(#0,RANGEKEYSET,@1,foo)}
|
|
----
|
|
1: a#0,1-d#72057594037927935,21
|
|
points: a#0,1-a#0,1
|
|
ranges: c#0,21-d#72057594037927935,21
|
|
|
|
# NB: range dels sort before range keys
|
|
|
|
load writer-version=10 db-version=10
|
|
a.RANGEDEL.0:z
|
|
rangekey: a-z:{(#0,RANGEKEYSET,@1,foo)}
|
|
----
|
|
1: a#0,21-z#72057594037927935,15
|
|
points: a#0,15-z#72057594037927935,15
|
|
ranges: a#0,21-z#72057594037927935,21
|
|
|
|
# Loading tables at an unsupported table format results in an error.
|
|
|
|
load writer-version=15 db-version=14
|
|
a.SET.0:
|
|
----
|
|
pebble: table format (Pebble,v4) is not within range supported at DB format major version 14, ((Pebble,v1),(Pebble,v3))
|