-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Milestone
Description
Proposal
Label Index and Label Offset Table are still being written to the index for backward compatibility. It has been a long time since we stopped reading that in TSDB. Prometheus 3.0 would be a good time to get rid of those sections. This and this.
┌────────────────────────────┬─────────────────────┐
│ magic(0xBAAAD700) <4b> │ version(1) <1 byte> │
├────────────────────────────┴─────────────────────┤
│ ┌──────────────────────────────────────────────┐ │
│ │ Symbol Table │ │
│ ├──────────────────────────────────────────────┤ │
│ │ Series │ │
│ ├──────────────────────────────────────────────┤ │
│ │ Label Index 1 │ │ <- remove from here
│ ├──────────────────────────────────────────────┤ │
│ │ ... │ │ ...
│ ├──────────────────────────────────────────────┤ │
│ │ Label Index N │ │ <- till here
│ ├──────────────────────────────────────────────┤ │
│ │ Postings 1 │ │
│ ├──────────────────────────────────────────────┤ │
│ │ ... │ │
│ ├──────────────────────────────────────────────┤ │
│ │ Postings N │ │
│ ├──────────────────────────────────────────────┤ │
│ │ Label Offset Table │ │ <- remove this
│ ├──────────────────────────────────────────────┤ │
│ │ Postings Offset Table │ │
│ ├──────────────────────────────────────────────┤ │
│ │ TOC │ │
│ └──────────────────────────────────────────────┘ │
└──────────────────────────────────────────────────┘
tjhop
Metadata
Metadata
Assignees
Type
Projects
Status
Done