diff --git a/app/vmselect/prometheus/prometheus.go b/app/vmselect/prometheus/prometheus.go index 8c2f9b0f81..e1fddf978f 100644 --- a/app/vmselect/prometheus/prometheus.go +++ b/app/vmselect/prometheus/prometheus.go @@ -215,7 +215,7 @@ func exportHandler(at *auth.Token, w http.ResponseWriter, matches []string, star if err != nil { return fmt.Errorf("cannot fetch data for %q: %s", sq, err) } - if isPartial { + if isPartial && getDenyPartialResponse(r) { rss.Cancel() return fmt.Errorf("cannot return full response, since some of vmstorage nodes are unavailable") }