Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit c63d097

Browse files
authored
Apply chunks-store config if primary or secondary store use chunks. (#160)
1 parent a3f6be1 commit c63d097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cortex/config.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
'querier.query-store-after': '12h',
178178
}
179179
) + (
180-
if $._config.memcached_index_queries_enabled && $._config.storage_engine == 'chunks' then
180+
if $._config.memcached_index_queries_enabled && ($._config.storage_engine == 'chunks' || $._config.querier_second_storage_engine == 'chunks') then
181181
{
182182
// Setting for index cache.
183183
'store.index-cache-validity': '14m', // ingester.retain-period=15m, 1m less for safety.

0 commit comments

Comments
 (0)