github.com/cockroachdb/pebble@v0.0.0-20231214172447-ab4952c5f87b/tool/testdata/manifest_dump (about) 1 manifest dump 2 ---- 3 requires at least 1 arg(s), only received 0 4 5 manifest dump 6 ../testdata/db-stage-2/MANIFEST-000001 7 ---- 8 MANIFEST-000001 9 0/0 10 comparer: leveldb.BytewiseComparator 11 next-file-num: 2 12 39/1 13 log-num: 2 14 next-file-num: 3 15 last-seq-num: 9 16 EOF 17 --- L0 --- 18 --- L1 --- 19 --- L2 --- 20 --- L3 --- 21 --- L4 --- 22 --- L5 --- 23 --- L6 --- 24 25 manifest dump 26 ../testdata/db-stage-4/MANIFEST-000006 27 ---- 28 MANIFEST-000006 29 0/0 30 comparer: leveldb.BytewiseComparator 31 log-num: 2 32 next-file-num: 7 33 41/1 34 log-num: 5 35 next-file-num: 6 36 last-seq-num: 14 37 added: L0 000004:709<#12-#14>[bar#14,DEL-foo#13,SET] (2023-12-04T17:57:25Z) 38 EOF 39 --- L0.0 --- 40 000004:709<#12-#14>[bar#14,DEL-foo#13,SET] 41 --- L1 --- 42 --- L2 --- 43 --- L3 --- 44 --- L4 --- 45 --- L5 --- 46 --- L6 --- 47 48 manifest dump --filter-start=zoo 49 ../testdata/db-stage-4/MANIFEST-000006 50 ---- 51 MANIFEST-000006 52 0/0 53 comparer: leveldb.BytewiseComparator 54 log-num: 2 55 next-file-num: 7 56 EOF 57 --- L0.0 --- 58 --- L1 --- 59 --- L2 --- 60 --- L3 --- 61 --- L4 --- 62 --- L5 --- 63 --- L6 --- 64 65 manifest dump --filter-end=a 66 ../testdata/db-stage-4/MANIFEST-000006 67 ---- 68 MANIFEST-000006 69 0/0 70 comparer: leveldb.BytewiseComparator 71 log-num: 2 72 next-file-num: 7 73 EOF 74 --- L0.0 --- 75 --- L1 --- 76 --- L2 --- 77 --- L3 --- 78 --- L4 --- 79 --- L5 --- 80 --- L6 --- 81 82 manifest dump --filter-start=a --filter-end=d 83 ../testdata/db-stage-4/MANIFEST-000006 84 ---- 85 MANIFEST-000006 86 0/0 87 comparer: leveldb.BytewiseComparator 88 log-num: 2 89 next-file-num: 7 90 41/1 91 log-num: 5 92 next-file-num: 6 93 last-seq-num: 14 94 added: L0 000004:709<#12-#14>[bar#14,DEL-foo#13,SET] (2023-12-04T17:57:25Z) 95 EOF 96 --- L0.0 --- 97 000004:709<#12-#14>[bar#14,DEL-foo#13,SET] 98 --- L1 --- 99 --- L2 --- 100 --- L3 --- 101 --- L4 --- 102 --- L5 --- 103 --- L6 --- 104 105 manifest dump 106 ../testdata/db-stage-4/MANIFEST-000006 107 --key=%x 108 ---- 109 MANIFEST-000006 110 0/0 111 comparer: leveldb.BytewiseComparator 112 log-num: 2 113 next-file-num: 7 114 41/1 115 log-num: 5 116 next-file-num: 6 117 last-seq-num: 14 118 added: L0 000004:709<#12-#14>[626172#14,DEL-666f6f#13,SET] (2023-12-04T17:57:25Z) 119 EOF 120 --- L0.0 --- 121 000004:709<#12-#14>[626172#14,DEL-666f6f#13,SET] 122 --- L1 --- 123 --- L2 --- 124 --- L3 --- 125 --- L4 --- 126 --- L5 --- 127 --- L6 --- 128 129 manifest dump 130 ../testdata/db-stage-4/MANIFEST-000006 131 --key=null 132 ---- 133 MANIFEST-000006 134 0/0 135 comparer: leveldb.BytewiseComparator 136 log-num: 2 137 next-file-num: 7 138 41/1 139 log-num: 5 140 next-file-num: 6 141 last-seq-num: 14 142 added: L0 000004:709<#12-#14> (2023-12-04T17:57:25Z) 143 EOF 144 --- L0.0 --- 145 000004:709<#12-#14> 146 --- L1 --- 147 --- L2 --- 148 --- L3 --- 149 --- L4 --- 150 --- L5 --- 151 --- L6 --- 152 153 manifest dump 154 ../testdata/db-stage-4/MANIFEST-000006 155 --key=pretty 156 ---- 157 MANIFEST-000006 158 0/0 159 comparer: leveldb.BytewiseComparator 160 log-num: 2 161 next-file-num: 7 162 41/1 163 log-num: 5 164 next-file-num: 6 165 last-seq-num: 14 166 added: L0 000004:709<#12-#14>[bar#14,DEL-foo#13,SET] (2023-12-04T17:57:25Z) 167 EOF 168 --- L0.0 --- 169 000004:709<#12-#14>[bar#14,DEL-foo#13,SET] 170 --- L1 --- 171 --- L2 --- 172 --- L3 --- 173 --- L4 --- 174 --- L5 --- 175 --- L6 --- 176 177 manifest dump 178 ../testdata/db-stage-4/MANIFEST-000006 179 --key=pretty:test-comparer 180 ---- 181 MANIFEST-000006 182 0/0 183 comparer: leveldb.BytewiseComparator 184 log-num: 2 185 next-file-num: 7 186 41/1 187 log-num: 5 188 next-file-num: 6 189 last-seq-num: 14 190 added: L0 000004:709<#12-#14>[test formatter: bar#14,DEL-test formatter: foo#13,SET] (2023-12-04T17:57:25Z) 191 EOF 192 --- L0.0 --- 193 000004:709<#12-#14>[test formatter: bar#14,DEL-test formatter: foo#13,SET] 194 --- L1 --- 195 --- L2 --- 196 --- L3 --- 197 --- L4 --- 198 --- L5 --- 199 --- L6 --- 200 201 manifest check 202 ---- 203 requires at least 1 arg(s), only received 0 204 205 manifest check 206 ../testdata/db-stage-1/MANIFEST-000001 207 ---- 208 OK 209 210 manifest check 211 ../testdata/db-stage-2/MANIFEST-000001 212 ---- 213 OK 214 215 manifest check 216 ../testdata/db-stage-3/MANIFEST-000005 217 ---- 218 open ../testdata/db-stage-3/MANIFEST-000005: file does not exist 219 220 manifest check 221 ../testdata/db-stage-4/MANIFEST-000006 222 ---- 223 OK 224 225 manifest dump 226 ./testdata/MANIFEST-invalid 227 ---- 228 MANIFEST-invalid 229 0/0 230 comparer: leveldb.BytewiseComparator 231 log-num: 2 232 next-file-num: 5 233 last-seq-num: 20 234 added: L6 000001:0<#2-#5>[#0,DEL-#0,DEL] 235 65/1 236 comparer: leveldb.BytewiseComparator 237 log-num: 3 238 next-file-num: 5 239 last-seq-num: 20 240 added: L6 000002:0<#1-#4>[#0,DEL-#0,DEL] 241 EOF 242 pebble: files 000002 and 000001 collided on sort keys 243 244 manifest check 245 ./testdata/MANIFEST-invalid 246 ---- 247 MANIFEST-invalid: offset: 65 err: pebble: files 000002 and 000001 collided on sort keys 248 Version state before failed Apply 249 --- L0 --- 250 --- L1 --- 251 --- L2 --- 252 --- L3 --- 253 --- L4 --- 254 --- L5 --- 255 --- L6 --- 256 000001:0<#2-#5>[#0,DEL-#0,DEL] 257 Version edit that failed 258 added: L6 000002:0<#1-#4>[#0,DEL-#0,DEL] 259 260 manifest dump 261 ./testdata/find-db/MANIFEST-000001 262 ---- 263 MANIFEST-000001 264 0/0 265 comparer: alt-comparer 266 next-file-num: 2 267 25/1 268 log-num: 2 269 next-file-num: 3 270 last-seq-num: 9 271 38/2 272 log-num: 4 273 next-file-num: 6 274 last-seq-num: 14 275 added: L0 000005:647<#10-#14>[aaa#10,SET-ccc#14,MERGE] (2023-12-12T18:55:00Z) 276 90/3 277 next-file-num: 6 278 last-seq-num: 14 279 deleted: L0 000005 280 added: L6 000005:647<#10-#14>[aaa#10,SET-ccc#14,MERGE] (2023-12-12T18:55:00Z) 281 143/4 282 next-file-num: 7 283 last-seq-num: 15 284 added: L0 000006:680<#15-#15>[bbb#15,SET-ccc#15,SET] (2023-12-12T18:55:00Z) 285 193/5 286 next-file-num: 8 287 last-seq-num: 16 288 added: L6 000007:671<#16-#16>[ddd#16,SET-ddd#16,SET] (2023-12-12T18:55:00Z) 289 243/6 290 next-file-num: 9 291 last-seq-num: 16 292 deleted: L0 000006 293 deleted: L6 000005 294 added: L6 000008:738<#0-#15>[aaa#0,SET-ccc#0,MERGE] (2023-12-12T18:55:00Z) 295 299/7 296 log-num: 9 297 next-file-num: 11 298 last-seq-num: 19 299 added: L0 000010:736<#17-#19>[aaa#17,DEL-eee#inf,RANGEDEL] (2023-12-12T18:55:00Z) 300 351/8 301 next-file-num: 12 302 last-seq-num: 19 303 deleted: L0 000010 304 deleted: L6 000007 305 deleted: L6 000008 306 added: L6 000011:870<#0-#19>[aaa#17,DEL-eee#inf,RANGEDEL] (2023-12-12T18:55:00Z) 307 EOF 308 --- L0 --- 309 --- L1 --- 310 --- L2 --- 311 --- L3 --- 312 --- L4 --- 313 --- L5 --- 314 --- L6 --- 315 000011:870<#0-#19>[aaa#17,DEL-eee#inf,RANGEDEL] 316 317 manifest dump --filter-start=bat --filter-end=cat 318 ./testdata/find-db/MANIFEST-000001 319 ---- 320 MANIFEST-000001 321 0/0 322 comparer: alt-comparer 323 next-file-num: 2 324 38/1 325 log-num: 4 326 next-file-num: 6 327 last-seq-num: 14 328 added: L0 000005:647<#10-#14>[aaa#10,SET-ccc#14,MERGE] (2023-12-12T18:55:00Z) 329 90/2 330 next-file-num: 6 331 last-seq-num: 14 332 deleted: L0 000005 333 added: L6 000005:647<#10-#14>[aaa#10,SET-ccc#14,MERGE] (2023-12-12T18:55:00Z) 334 143/3 335 next-file-num: 7 336 last-seq-num: 15 337 added: L0 000006:680<#15-#15>[bbb#15,SET-ccc#15,SET] (2023-12-12T18:55:00Z) 338 243/4 339 next-file-num: 9 340 last-seq-num: 16 341 deleted: L0 000006 342 deleted: L6 000005 343 added: L6 000008:738<#0-#15>[aaa#0,SET-ccc#0,MERGE] (2023-12-12T18:55:00Z) 344 299/5 345 log-num: 9 346 next-file-num: 11 347 last-seq-num: 19 348 added: L0 000010:736<#17-#19>[aaa#17,DEL-eee#inf,RANGEDEL] (2023-12-12T18:55:00Z) 349 351/6 350 next-file-num: 12 351 last-seq-num: 19 352 deleted: L0 000010 353 deleted: L6 000007 354 deleted: L6 000008 355 added: L6 000011:870<#0-#19>[aaa#17,DEL-eee#inf,RANGEDEL] (2023-12-12T18:55:00Z) 356 EOF 357 --- L0 --- 358 --- L1 --- 359 --- L2 --- 360 --- L3 --- 361 --- L4 --- 362 --- L5 --- 363 --- L6 --- 364 000011:870<#0-#19>[aaa#17,DEL-eee#inf,RANGEDEL] 365 366 manifest check 367 ./testdata/mixed/MANIFEST-000001 368 ---- 369 OK 370 371 manifest dump 372 ./testdata/mixed/MANIFEST-000001 373 ---- 374 MANIFEST-000001 375 0/0 376 comparer: pebble.internal.testkeys 377 next-file-num: 2 378 37/1 379 log-num: 2 380 next-file-num: 3 381 last-seq-num: 9 382 50/2 383 log-num: 4 384 next-file-num: 6 385 last-seq-num: 38 386 added: L0 000005:1056<#10-#38>[a#38,RANGEKEYDEL-z@1#35,SET] (2023-12-11T18:59:04Z) 387 EOF 388 --- L0.0 --- 389 000005:1056<#10-#38>[a#38,RANGEKEYDEL-z@1#35,SET] 390 --- L1 --- 391 --- L2 --- 392 --- L3 --- 393 --- L4 --- 394 --- L5 --- 395 --- L6 ---