Skip to content

Commit

Permalink
Apply chunks-store config if primary or secondary store use chunks. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pstibrany authored Aug 12, 2020
1 parent a3f6be1 commit c63d097
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cortex/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
'querier.query-store-after': '12h',
}
) + (
if $._config.memcached_index_queries_enabled && $._config.storage_engine == 'chunks' then
if $._config.memcached_index_queries_enabled && ($._config.storage_engine == 'chunks' || $._config.querier_second_storage_engine == 'chunks') then
{
// Setting for index cache.
'store.index-cache-validity': '14m', // ingester.retain-period=15m, 1m less for safety.
Expand Down

0 comments on commit c63d097

Please sign in to comment.