prometheus / prometheus/prometheus
Remove support for TSDB V1 format (in Prometheus 4)
Open
Nobody has claimed this yet.
component/tsdb
kind/breaking
prometheus-4.0
- Dominant language
- Go
- Stars
- 66.1k
- Forks
- 10.8k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 131
Description
Proposal
V2 of the TSDB index became the default in Prometheus 2.2, in 2019.
Keeping the ability to read V1 clutters the code everywhere that indexes are used.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by tracing TSDB index reads and the compatibility paths for V1, then identify the tests covering both index formats. Done means V1 reading support is removed consistently and the remaining V2 behavior is covered by passing tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- databases
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100