apache/pinot

Controller's `/segments/<tableName>/metadata` does not return metadata from all segments of the table

Open

#7.151 geöffnet am 11. Juli 2021

Auf GitHub ansehen
 (7 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (1.234 Forks)batch import
good first issue

Repository-Metriken

Stars
 (4.937 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 6T 7h) (186 gemergte PRs in 30 T)

Beschreibung

Following Slack discussion: https://apache-pinot.slack.com/archives/C011C9JHN7R/p1625240658371100

This endpoint is supposed (see Swagger screenshot) to return the metadata of all segments. However, it appears to only return a single segment's metadata (from a "random one").

The table really has many segments, and multiple calls to this endpoint return metadata from different segments every time.

Expected image

Actual https://user-images.githubusercontent.com/22521284/125203010-c1c71480-e276-11eb-8a60-fd2e901d9983.mp4

Contributor Guide