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

Commit b0997cd

Browse files
authored
Enable table manager when using chunks storage as secondary storage engine for querier. (#161)
1 parent c63d097 commit b0997cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cortex/config.libsonnet

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@
6464
store_gateway_replication_factor: 3,
6565

6666
// Blocks storage engine doesn't require the table manager.
67-
table_manager_enabled: $._config.storage_engine != 'blocks',
67+
// When running blocks with chunks as secondary storage engine for querier only, we need table-manager to apply
68+
// retention policies.
69+
table_manager_enabled: $._config.storage_engine == 'chunks' || $._config.querier_second_storage_engine == 'chunks',
6870

6971
// Blocks storage engine doesn't support index-writes (for writes deduplication) cache.
7072
memcached_index_writes_enabled: $._config.storage_engine != 'blocks',

0 commit comments

Comments
 (0)