From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "enum" |
|---|
| subject | "Format:RocksDB database" |
|---|
| claim | "ChecksumType, the one-byte value in the SST footer (format_version >= 1) that selects the checksum of blocks and of the footer." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:RocksDB database" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "ChecksumType" |
|---|
| underlying_type | "char" |
|---|
| complete | true |
|---|
| values | | 0 | "kNoChecksum" |
|---|
| 1 | "kCRC32c" |
|---|
| 2 | "kxxHash" |
|---|
| 3 | "kxxHash64" |
|---|
| 4 | "kXXH3" |
|---|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "Whole enum read; kXXH3 commented 'Supported since RocksDB 6.27'. Footer::DecodeFrom rejects other values with 'Corrupt or unsupported checksum type'. Legacy format_version 0 footers store no type and use CRC32c." |
|---|
| repo | "https://github.com/facebook/rocksdb" |
|---|
| commit | "54732b0c8f6f8af34f973d7fae0a234022fcf1fa" |
|---|
| path | "include/rocksdb/table.h" |
|---|
| lines | "117-123" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "RocksDB checksum types" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T11:32:07.156Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T12:11:29.215Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read rocksdb include/rocksdb/table.h at 54732b0 lines 117-123: kNoChecksum 0, kCRC32c 1, kxxHash 2, kxxHash64 3, kXXH3 4 (since 6.27); no others." |
|---|
|
|
|---|