Skip to content

[Receive] New Tenant is not queryable by receiver #7892

@jnyi

Description

@jnyi

We are testing the latest thanos main branch and found a regression that didn't exist in v0.36 prior

For a given running thanos receiver cluster, we start a new tenant called "eng-host-networking" and we can see tsdb head metric started pop up but all metrics to that tenant are not queryable unless restart the receiver cluster

Screenshot 2024-11-07 at 10 14 01 AM Screenshot 2024-11-07 at 10 14 09 AM

How to repro:

  1. start a receiver cluster using latest main
  2. send remote write with a new tenant
  3. verify it is received using prometheus_tsdb_head_series{tenant="<new tenant>"}
  4. go to endpoint pages, the new tenant isn't there nor metrics from that tenant can be queried
  5. restart receiver cluster, data showed up (no data loss)

Thanos, Prometheus and Golang version used:
Thanos: v0.37.0-dev
Golang: v1.23

Object Storage Provider:

What happened:

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Full logs to relevant components:

Anything else we need to know:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions