{"record":{"id":"7b9a80c8301dd12b","repo":"thanos-io/thanos","slug":"fetch-label-values-from-store-s","errorCode":null,"errorMessage":"fetch label values from store %s","messagePattern":"fetch label values from store (.+?)","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"pkg/store/proxy.go","lineNumber":569,"sourceCode":"\t\tPartialResponseStrategy: originalRequest.PartialResponseStrategy,\n\t\tStart:                   originalRequest.Start,\n\t\tEnd:                     originalRequest.End,\n\t\tMatchers:                append(storeMatchers, MatchersForLabelSets(storeLabelSets)...),\n\t\tWithoutReplicaLabels:    originalRequest.WithoutReplicaLabels,\n\t\tLimit:                   originalRequest.Limit,\n\t}\n\n\tvar (\n\t\twarnings []string\n\t\tall      [][]string\n\t\tmtx      sync.Mutex\n\t\tg, gctx  = errgroup.WithContext(ctx)\n\t)\n\tfor _, st := range stores {\n\t\tg.Go(func() error {\n\t\t\tresp, err := st.LabelValues(gctx, r)\n\t\t\tif err != nil {\n\t\t\t\terr = errors.Wrapf(err, \"fetch label values from store %s\", st)\n\t\t\t\tif r.PartialResponseDisabled || r.PartialResponseStrategy == storepb.PartialResponseStrategy_ABORT {\n\t\t\t\t\treturn err\n\t\t\t\t}\n\n\t\t\t\tmtx.Lock()\n\t\t\t\twarnings = append(warnings, err.Error())\n\t\t\t\tmtx.Unlock()\n\t\t\t\treturn nil\n\t\t\t}\n\n\t\t\tmtx.Lock()\n\t\t\twarnings = append(warnings, resp.Warnings...)\n\t\t\tall = append(all, resp.Values)\n\t\t\tmtx.Unlock()\n\n\t\t\treturn nil\n\t\t})\n\t}","sourceCodeStart":551,"sourceCodeEnd":587,"githubUrl":"https://github.com/thanos-io/thanos/blob/35b8b991177def87ed52dcf10f9b6d87f07282c8/pkg/store/proxy.go#L551-L587","documentation":"A fan-out LabelValues RPC to one store in the StoreAPI fan-out failed (connection error, store-side error, or cancelled errgroup context). The message identifies which store could not serve label values; the error is aggregated per store and turned into a warning when partial responses are allowed.","triggerScenarios":"Thrown at pkg/store/proxy.go:569 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the failing store's health, logs and gRPC endpoint","Verify service discovery is returning a reachable address for the store","Retry the query after the store recovers","Use partial responses to get results from the remaining stores, then re-query later"],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"35b8b991177def87ed52dcf10f9b6d87f07282c8","analyzedAt":"2026-09-07T01:49:59.689Z","contentChangedAt":"2026-09-07T01:49:59.689Z","schemaVersion":2},"datasetVersion":"2026-09-15T23:17:13.987Z"}