Skip to content

Commit 86a621f

Browse files
committed
Add index cache max-async-concurrency (50 to 3)
Signed-off-by: SungJin1212 <[email protected]>
1 parent d3778ce commit 86a621f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/blocks-storage/querier.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ blocks_storage:
794794
# The maximum number of concurrent asynchronous operations can occur
795795
# when backfilling cache items.
796796
# CLI flag: -blocks-storage.bucket-store.index-cache.multilevel.max-async-concurrency
797-
[max_async_concurrency: <int> | default = 50]
797+
[max_async_concurrency: <int> | default = 3]
798798

799799
# The maximum number of enqueued asynchronous operations allowed when
800800
# backfilling cache items.

docs/blocks-storage/store-gateway.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@ blocks_storage:
891891
# The maximum number of concurrent asynchronous operations can occur
892892
# when backfilling cache items.
893893
# CLI flag: -blocks-storage.bucket-store.index-cache.multilevel.max-async-concurrency
894-
[max_async_concurrency: <int> | default = 50]
894+
[max_async_concurrency: <int> | default = 3]
895895

896896
# The maximum number of enqueued asynchronous operations allowed when
897897
# backfilling cache items.

docs/configuration/config-file-reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1327,7 +1327,7 @@ bucket_store:
13271327
# The maximum number of concurrent asynchronous operations can occur when
13281328
# backfilling cache items.
13291329
# CLI flag: -blocks-storage.bucket-store.index-cache.multilevel.max-async-concurrency
1330-
[max_async_concurrency: <int> | default = 50]
1330+
[max_async_concurrency: <int> | default = 3]
13311331

13321332
# The maximum number of enqueued asynchronous operations allowed when
13331333
# backfilling cache items.

pkg/storage/tsdb/index_cache.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (cfg *MultiLevelIndexCacheConfig) Validate() error {
132132
}
133133

134134
func (cfg *MultiLevelIndexCacheConfig) RegisterFlagsWithPrefix(f *flag.FlagSet, prefix string) {
135-
f.IntVar(&cfg.MaxAsyncConcurrency, prefix+"max-async-concurrency", 50, "The maximum number of concurrent asynchronous operations can occur when backfilling cache items.")
135+
f.IntVar(&cfg.MaxAsyncConcurrency, prefix+"max-async-concurrency", 3, "The maximum number of concurrent asynchronous operations can occur when backfilling cache items.")
136136
f.IntVar(&cfg.MaxAsyncBufferSize, prefix+"max-async-buffer-size", 10000, "The maximum number of enqueued asynchronous operations allowed when backfilling cache items.")
137137
f.IntVar(&cfg.MaxBackfillItems, prefix+"max-backfill-items", 10000, "The maximum number of items to backfill per asynchronous operation.")
138138
}

0 commit comments

Comments
 (0)