MCPcopy Create free account
hub / github.com/cortexproject/cortex / Close

Method Close

pkg/querier/parquet_queryable.go:593–598  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

591}
592
593func (q *parquetQuerierWithFallback) Close() error {
594 mErr := multierror.MultiError{}
595 mErr.Add(q.parquetQuerier.Close())
596 mErr.Add(q.blocksStoreQuerier.Close())
597 return mErr.Err()
598}
599
600func (q *parquetQuerierWithFallback) getBlocks(ctx context.Context, minT, maxT int64, matchers []*labels.Matcher) ([]*bucketindex.Block, []*bucketindex.Block, error) {
601 userID, err := users.TenantID(ctx)

Callers

nothing calls this directly

Calls 3

AddMethod · 0.95
ErrMethod · 0.95
CloseMethod · 0.65

Tested by

no test coverage detected