prometheus / prometheus/prometheus

Remove support for TSDB V1 format (in Prometheus 4)

Open
#17,681 8 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.