Description
Describe the bug
Cortex Compactor, upon pod redeployment, loses the current value of cortex_compactor_blocks_marked_for_no_compaction_total
metric.
This might or might not be affected by the fact, that currently I'm running Cortex 1.11.0 deployed via Cortex Helm Chart 1.4.0 with all bells and whistles (caches, key stores etc) but without Cortex Compactor pod. It's deployed separately and with minimum configuration possible. It's running cortex:master-bb6b026 version in order to incorporate 4d751f2 which introduced fix to compaction process which was blocking compaction in my env.
To Reproduce
Steps to reproduce the behavior:
- Deploy Cortex
- Start compactions
- Wait until some blocks are marked as no compaction and the metric
cortex_compactor_blocks_marked_for_no_compaction_total
starts showing value >0 - Redeploy the whole Cortex or Compactor pods only
- The metric shows 0 now (until new no compaction block is encountered)
Expected behavior
Current cortex_compactor_blocks_marked_for_no_compaction_total
value is not lost upon Cortex redeployment
Environment:
GKE 1.21
Cortex 1.11.0 deployed via Cortex Helm Chart 1.4.0 (without compactor pod)
Cortex Compactor cortex:master-bb6b026 deployed separately
Storage Engine
Blocks
Additional Context
n/a