diff --git a/pkg/querier/queryrange/limits.go b/pkg/querier/queryrange/limits.go index ba544126a7841..07821030db370 100644 --- a/pkg/querier/queryrange/limits.go +++ b/pkg/querier/queryrange/limits.go @@ -353,7 +353,8 @@ func (q *querySizeLimiter) Do(ctx context.Context, r queryrangebase.Request) (qu // Only support TSDB schemaCfg, err := q.getSchemaCfg(r) if err != nil { - return nil, httpgrpc.Errorf(http.StatusInternalServerError, "Failed to get schema config: %s", err.Error()) + level.Error(log).Log("msg", "failed to get schema config, not applying querySizeLimit", "err", err) + return q.next.Do(ctx, r) } if schemaCfg.IndexType != config.TSDBType { return q.next.Do(ctx, r)