github.com/cockroachdb/pebble@v1.1.1-0.20240513155919-3622ade60459/tool/testdata/db_check (about) 1 db check 2 ---- 3 accepts 1 arg(s), received 0 4 5 db check 6 non-existent 7 ---- 8 error opening database at "non-existent": pebble: database "non-existent" does not exist 9 10 db check 11 ./testdata/corrupt-options-db 12 ---- 13 error loading options: invalid key=value syntax: "blargle" 14 Custom message in case of corruption error. 15 16 17 db check 18 ../testdata/db-stage-4 19 ---- 20 checked 6 points and 0 tombstone 21 22 db check 23 ../testdata/db-stage-4 24 --comparer=foo 25 ---- 26 unknown comparer "foo" 27 28 db check 29 ../testdata/db-stage-4 30 --comparer=test-comparer 31 ---- 32 pebble: manifest file "MANIFEST-000005" for DB "db-stage-4": comparer name from file "leveldb.BytewiseComparator" != comparer name from Options "test-comparer" 33 34 db check 35 ../testdata/db-stage-4 36 --merger=foo 37 ---- 38 unknown merger "foo" 39 40 # TODO(peter): this DB does not have any merge records and the merge 41 # operator in the OPTIONS file is "nullptr". 42 db check 43 ../testdata/db-stage-4 44 --merger=test-merger 45 ---- 46 checked 6 points and 0 tombstone