From d948b8db2479f1b3c0e1d5d5a815ed5d36be8bd8 Mon Sep 17 00:00:00 2001 From: Nate Broyles Date: Fri, 10 Jul 2020 10:30:54 -0400 Subject: [PATCH] Update storage documentation to add IndexEntryChecksum --- docs/m3db/architecture/storage.md | 36 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/docs/m3db/architecture/storage.md b/docs/m3db/architecture/storage.md index 8ad5dafd6d..22e18dd042 100644 --- a/docs/m3db/architecture/storage.md +++ b/docs/m3db/architecture/storage.md @@ -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 │