github.com/cockroachdb/pebble@v1.1.1-0.20240513155919-3622ade60459/testdata/ingest_load (about) 1 load 2 ---- 3 malformed input: 4 5 load 6 a.SET.1: 7 ---- 8 pebble: external sstable has non-zero seqnum: a#1,SET 9 10 load 11 a.INVALID.0: 12 ---- 13 pebble: external sstable has corrupted key: a#0,INVALID 14 15 load 16 a.SET.0: 17 ---- 18 1: a#0,1-a#0,1 19 points: a#0,1-a#0,1 20 ranges: #0,0-#0,0 21 22 load 23 a.SET.0: 24 b.SET.0: 25 ---- 26 1: a#0,1-b#0,1 27 points: a#0,1-b#0,1 28 ranges: #0,0-#0,0 29 30 load 31 a.DEL.0: 32 ---- 33 1: a#0,0-a#0,0 34 points: a#0,0-a#0,0 35 ranges: #0,0-#0,0 36 37 load 38 a.DEL.0: 39 b.DEL.0: 40 ---- 41 1: a#0,0-b#0,0 42 points: a#0,0-b#0,0 43 ranges: #0,0-#0,0 44 45 load 46 a.MERGE.0: 47 ---- 48 1: a#0,2-a#0,2 49 points: a#0,2-a#0,2 50 ranges: #0,0-#0,0 51 52 load 53 a.MERGE.0: 54 b.MERGE.0: 55 ---- 56 1: a#0,2-b#0,2 57 points: a#0,2-b#0,2 58 ranges: #0,0-#0,0 59 60 load 61 a.RANGEDEL.0:b 62 ---- 63 1: a#0,15-b#72057594037927935,15 64 points: a#0,15-b#72057594037927935,15 65 ranges: #0,0-#0,0 66 67 load 68 a.SET.0: 69 a.RANGEDEL.0:b 70 ---- 71 1: a#0,15-b#72057594037927935,15 72 points: a#0,15-b#72057594037927935,15 73 ranges: #0,0-#0,0 74 75 load 76 a.SET.0: 77 a.RANGEDEL.0:b 78 ---- 79 1: a#0,15-b#72057594037927935,15 80 points: a#0,15-b#72057594037927935,15 81 ranges: #0,0-#0,0 82 83 load 84 b.SET.0: 85 a.RANGEDEL.0:b 86 ---- 87 1: a#0,15-b#0,1 88 points: a#0,15-b#0,1 89 ranges: #0,0-#0,0 90 91 # Loading tables at an unsupported table format results in an error. 92 # Write a table at version 7 (Pebble,v2) into a DB at version 6 (Pebble,v1). 93 load writer-version=8 db-version=7 94 a.SET.1: 95 ---- 96 pebble: table format (Pebble,v2) is not within range supported at DB format major version 7, ((LevelDB),(Pebble,v1)) 97 98 # Tables with range keys only. 99 100 load writer-version=10 db-version=10 101 rangekey: a-z:{(#0,RANGEKEYSET,@1,foo)} 102 ---- 103 1: a#0,21-z#72057594037927935,21 104 points: #0,0-#0,0 105 ranges: a#0,21-z#72057594037927935,21 106 107 # Tables with a mixture of point and range keys. 108 109 load writer-version=10 db-version=10 110 a.SET.0: 111 b.SET.0: 112 c.SET.0: 113 rangekey: w-x:{(#0,RANGEKEYSET,@1,foo)} 114 rangekey: x-y:{(#0,RANGEKEYSET,@2,bar)} 115 rangekey: y-z:{(#0,RANGEKEYSET,@3,baz)} 116 ---- 117 1: a#0,1-z#72057594037927935,21 118 points: a#0,1-c#0,1 119 ranges: w#0,21-z#72057594037927935,21 120 121 load writer-version=10 db-version=10 122 c.SET.0:d 123 rangekey: a-z:{(#0,RANGEKEYSET,@1,foo)} 124 ---- 125 1: a#0,21-z#72057594037927935,21 126 points: c#0,1-c#0,1 127 ranges: a#0,21-z#72057594037927935,21 128 129 load writer-version=10 db-version=10 130 a.SET.0:z 131 rangekey: c-d:{(#0,RANGEKEYSET,@1,foo)} 132 ---- 133 1: a#0,1-d#72057594037927935,21 134 points: a#0,1-a#0,1 135 ranges: c#0,21-d#72057594037927935,21 136 137 # NB: range dels sort before range keys 138 139 load writer-version=10 db-version=10 140 a.RANGEDEL.0:z 141 rangekey: a-z:{(#0,RANGEKEYSET,@1,foo)} 142 ---- 143 1: a#0,21-z#72057594037927935,15 144 points: a#0,15-z#72057594037927935,15 145 ranges: a#0,21-z#72057594037927935,21 146 147 # Loading tables at an unsupported table format results in an error. 148 149 load writer-version=15 db-version=14 150 a.SET.0: 151 ---- 152 pebble: table format (Pebble,v4) is not within range supported at DB format major version 14, ((Pebble,v1),(Pebble,v3))