Skip to content

Commit

Permalink
Update storage documentation to add IndexEntryChecksum
Browse files Browse the repository at this point in the history
  • Loading branch information
nbroyles committed Jul 16, 2020
1 parent c7a001a commit d948b8d
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions docs/m3db/architecture/storage.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ A fileset has the following files:
* **Checkpoint file:** Stores a digest of the digests file and written at the succesful completion of a fileset volume being persisted, allows for quickly checking if a volume was completed.

```
┌─────────────────────┐
┌─────────────────────┐ ┌─────────────────────┐ │ Index File │
│ Info File │ │ Summaries File │ │ (sorted by ID) │
├─────────────────────┤ │ (sorted by ID) │ ├─────────────────────┤
│- Block Start │ ├─────────────────────┤ ┌─>│- Idx │
│- Block Size │ │- Idx │ │ │- ID │
│- Entries (Num) │ │- ID │ │ │- Size │
│- Major Version │ │- Index Entry Offset ├──┘ │- Checksum │
│- Summaries (Num) │ └─────────────────────┘ │- Data Entry Offset ├──┐
│- BloomFilter (K/M) │ │- Encoded Tags | |
│- Snapshot Time │ └─────────────────────┘
│- Type (Flush/Snap) | |
│- Snapshot ID |
│- Volume Index |
│- Minor Version |
└─────────────────────┘ │
┌─────────────────────┐ ┌───────────────────────────┘
┌───────────────────────
┌─────────────────────┐ ┌─────────────────────┐ │ Index File
│ Info File │ │ Summaries File │ │ (sorted by ID)
├─────────────────────┤ │ (sorted by ID) │ ├───────────────────────
│- Block Start │ ├─────────────────────┤ ┌─>│- Idx
│- Block Size │ │- Idx │ │ │- ID
│- Entries (Num) │ │- ID │ │ │- Size
│- Major Version │ │- Index Entry Offset ├──┘ │- Checksum
│- Summaries (Num) │ └─────────────────────┘ │- Data Entry Offset ├──┐
│- BloomFilter (K/M) │ │- Encoded Tags │ │
│- Snapshot Time │ │- Index Entry Checksum │
│- Type (Flush/Snap) └───────────────────────┘ │
│- Snapshot ID
│- Volume Index
│- Minor Version
└─────────────────────┘
┌─────────────────────┐ ┌─────────────────────────────
┌─────────────────────┐ │ Bloom Filter File │ │
│ Digests File │ ├─────────────────────┤ │ ┌─────────────────────┐
├─────────────────────┤ │- Bitset │ │ │ Data File │
Expand Down

0 comments on commit d948b8d

Please sign in to comment.