From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Format:RocksDB database" |
|---|
| claim | "At this commit Footer::DecodeFrom refuses an SST whose last 8 bytes are the LevelDB table magic 0xdb4775248b80fb57 with NotSupported ('Unsupported legacy magic number for block-based SST format. Load with RocksDB >= 4.6.0 and < 11.0.0 and run full compaction to upgrade.'). Block-based tables must have format_version 2..8 (kMinSupportedBbtFormatVersionForRead = 2, kLatestBbtFormatVersion = 8); plain tables 0, cuckoo tables 1. So a LevelDB-style table is recognised but not read by current RocksDB; older RocksDB releases did read it." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:RocksDB database" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "opening an SST whose magic is 0xdb4775248b80fb57" |
|---|
| effect | "error NotSupported; no table is loaded" |
|---|
| condition | "RocksDB source at the pinned commit (the message names 11.0.0 as the first release without support)" |
|---|
| function | "Footer::DecodeFrom" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Check of magic == 0xdb4775248b80fb57ull right after reading the last 8 bytes" |
|---|
| repo | "https://github.com/facebook/rocksdb" |
|---|
| commit | "54732b0c8f6f8af34f973d7fae0a234022fcf1fa" |
|---|
| path | "table/format.cc" |
|---|
| lines | "404-418" |
|---|
|
| type | "source" |
|---|
| detail | "IsSupportedFormatVersionForRead per magic" |
|---|
| repo | "https://github.com/facebook/rocksdb" |
|---|
| commit | "54732b0c8f6f8af34f973d7fae0a234022fcf1fa" |
|---|
| path | "table/format.h" |
|---|
| lines | "201-232" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "RocksDB rejects LevelDB table magic" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T11:32:07.303Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T11:48:55.423Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read Footer::DecodeFrom in table/format.cc and IsSupportedFormatVersionForRead / constants in table/format.h at 54732b0: magic check returns NotSupported with the quoted text before any other check; versions 2..8 block-based, plain 0, cuckoo 1." |
|---|
|
|
|---|