@@ -30,7 +30,6 @@ import (
3030 "github.com/cortexproject/cortex/pkg/querysharding"
3131 "github.com/cortexproject/cortex/pkg/storage/bucket"
3232 "github.com/cortexproject/cortex/pkg/storage/tsdb"
33- "github.com/cortexproject/cortex/pkg/storage/tsdb/users"
3433 cortex_util "github.com/cortexproject/cortex/pkg/util"
3534 cortex_errors "github.com/cortexproject/cortex/pkg/util/errors"
3635 "github.com/cortexproject/cortex/pkg/util/spanlogger"
@@ -56,10 +55,6 @@ type ParquetBucketStores struct {
5655 matcherCache storecache.MatchersCache
5756
5857 inflightRequests * cortex_util.InflightRequestTracker
59-
60- userScanner users.Scanner
61-
62- userTokenBuckets map [string ]* cortex_util.TokenBucket
6358}
6459
6560// newParquetBucketStores creates a new multi-tenant parquet bucket stores
@@ -79,11 +74,6 @@ func newParquetBucketStores(cfg tsdb.BlocksStorageConfig, bucketClient objstore.
7974 storesErrors : map [string ]error {},
8075 chunksDecoder : schema .NewPrometheusParquetChunksDecoder (chunkenc .NewPool ()),
8176 inflightRequests : cortex_util .NewInflightRequestTracker (),
82- userTokenBuckets : make (map [string ]* cortex_util.TokenBucket ),
83- }
84- u .userScanner , err = users .NewScanner (cfg .UsersScanner , bucketClient , logger , reg )
85- if err != nil {
86- return nil , errors .Wrap (err , "failed to create users scanner" )
8777 }
8878
8979 if cfg .BucketStore .MatchersCacheMaxItems > 0 {
0 commit comments