-
Notifications
You must be signed in to change notification settings - Fork 833
Closed
Labels
staletype/choreSomething that needs to be done; not a bug or a featureSomething that needs to be done; not a bug or a feature
Description
While testing, I had zero ingesters owning tokens. In this situation, Distributor.Query will:
- if your query has a metric, error with "empty circle". This is a confusing message because we never talk about "circle", only "ring".
- if your query has no metric, continue with an empty set to
queryIngesters()
which will compute a negative number as the minimum required for success, hence return success with no data.
At least, the behaviour should be consistent. I presume minSuccess
should never be negative but haven't researched what it should be.
At a higher level, I don't think an absence of ingesters should cause queries to fail. We can tell, without asking, that the empty set of ingesters holds an empty set of chunks, so the query should return whatever is in the persistent store.
Metadata
Metadata
Assignees
Labels
staletype/choreSomething that needs to be done; not a bug or a featureSomething that needs to be done; not a bug or a feature