Skip to content

Commit 031cc4a

Browse files
authored
Fixed meta.json sync concurrency config option (cortexproject#3531)
Signed-off-by: Marco Pracucci <marco@pracucci.com>
1 parent bfb35dc commit 031cc4a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
* [BUGFIX] Blocks storage: Fix the race between ingestion and `/flush` call resulting in overlapping blocks. #3422
3131
* [BUGFIX] Querier: fixed `-querier.max-query-into-future` which wasn't correctly enforced on range queries. #3452
3232
* [BUGFIX] Fixed float64 precision stability when aggregating metrics before exposing them. This could have lead to false counters resets when querying some metrics exposed by Cortex. #3506
33+
* [BUGFIX] Querier: the meta.json sync concurrency done when running Cortex with the blocks storage is now controlled by `-blocks-storage.bucket-store.meta-sync-concurrency` instead of the incorrect `-blocks-storage.bucket-store.block-sync-concurrency` (default values are the same). #3531
3334

3435
## Blocksconvert
3536

pkg/querier/blocks_store_queryable.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func NewBlocksStoreQueryableFromConfig(querierCfg Config, gatewayCfg storegatewa
166166
scanner := NewBlocksScanner(BlocksScannerConfig{
167167
ScanInterval: storageCfg.BucketStore.SyncInterval,
168168
TenantsConcurrency: storageCfg.BucketStore.TenantSyncConcurrency,
169-
MetasConcurrency: storageCfg.BucketStore.BlockSyncConcurrency,
169+
MetasConcurrency: storageCfg.BucketStore.MetaSyncConcurrency,
170170
CacheDir: storageCfg.BucketStore.SyncDir,
171171
ConsistencyDelay: storageCfg.BucketStore.ConsistencyDelay,
172172
IgnoreDeletionMarksDelay: storageCfg.BucketStore.IgnoreDeletionMarksDelay,

0 commit comments

Comments
 (0)