RATATOSK
← All releases

Cortexv1.22.0

Security 8Breaking changes 20Deprecations 3Important fixes 37Enhancements 41Dependency updates 9Other changes 28

Get Cortex alerts

Email is sent weekly only when there are changes to check; critical security advisories are sent immediately.

Security8Security status unclear3

gRPC non-canonical path authorization bypass fixed

AffectsCortex deployments exposing gRPC servers with path-based authorization, canonical-path deny rules, and a fallback allow rule

Before this release, a raw HTTP/2 request with a :path missing its leading slash could reach a handler while bypassing the canonical-path deny rule. Such requests are now rejected with a codes.Unimplemented error before reaching authorization interceptors or handlers.

Show release-note lines
* [ENHANCEMENT] Upgrade gRPC from v1.71.2 to v1.79.3 to address CVE-2026-33186. #7460 #7463
- **Dependency and runtime updates**: Go 1.27.3, Prometheus v3.9.1, Alertmanager v0.33.0, gRPC v1.79.3, and distroless base images for the container images.
github.com/cortexproject/cortex/releases/tag/v1.22.0

Go crypto/x509 verification fix for untrusted intermediates

AffectsCortex deployments using crypto/x509 certificate verification(Inferred)

When Verify is called with a known intermediate certificate no longer considered trustworthy, it now returns an error.

Show release-note lines
* [ENHANCEMENT] Update Go version to 1.27.3, which includes security fixes to the `crypto/x509` package (CVE-2026-111943). #7906 #7923
github.com/cortexproject/cortex/releases/tag/v1.22.0

Cortex rejects empty signing-key entries

Affects-distributor.sign-write-requests-keys configuration

A stray or trailing comma previously created an empty signing key, downgrading HMAC stream-push authentication to a forgeable signature; now, this misconfiguration fails at process startup.

Show release-note lines
* [BUGFIX] Security: Reject empty entries in `-distributor.sign-write-requests-keys` caused by stray or trailing commas (e.g. `newkey,`). Previously these were silently accepted and produced an empty signing key, which downgraded HMAC stream-push authentication to a forgeable signature. Misconfigured flags now fail at process startup; audit your configs before upgrading. #7587
github.com/cortexproject/cortex/releases/tag/v1.22.0

Runtime images switch to gcr.io/distroless/static-debian12

Security status unclear
Affectsdeployments using the runtime container images for Cortex, query-tee, thanosconvert or test-exporter

The previous alpine:3.23 images included a shell and package manager. The new images have no shell, package manager or busybox, but retain CA certificates.

Show release-note lines
* [ENHANCEMENT] Upgraded container base images from `alpine:3.23` to `gcr.io/distroless/static-debian12`, reducing image size and attack surface. #7637
github.com/cortexproject/cortex/releases/tag/v1.22.0

Query Frontend logs X-Grafana-User

Security status unclear
AffectsGrafana data source proxy requests with [dataproxy] send_user_header enabled

When a request carries X-Grafana-User, its value appears in query stats, slow-query, and query-request logs. No Cortex-side configuration change is needed.

Show release-note lines
* [ENHANCEMENT] Query Frontend: Log `X-Grafana-User` header in query stats, slow query, and query request logs when Grafana's `send_user_header` is enabled. #7799
github.com/cortexproject/cortex/releases/tag/v1.22.0

TSDB appender release on early-return Push paths

AffectsIngester setups handling out-of-order label sets

When Push took an early-return path, such as for an out-of-order label set, each request leaked TSDB head series references, mmap'd chunks and pending state, causing cortex_ingester_tsdb_head_active_appenders to grow without bound.

Show release-note lines
* [BUGFIX] Ingester: Release the TSDB appender on every early-return path in `Push` (e.g. out-of-order label set) by deferring `Rollback`. Previously such requests leaked TSDB head series references, mmap'd chunks and pending state per request, causing the `cortex_ingester_tsdb_head_active_appenders` gauge to grow unbounded. #7528
github.com/cortexproject/cortex/releases/tag/v1.22.0

Ingester zero-count float histogram panic fixed

Security status unclear
Affectssetups ingesting float native histograms

A zero-count float histogram, such as a staleness marker or empty histogram, was routed to the integer decoder and could crash the ingester during synchronous gRPC Push. It now uses the float decoder and can be ingested without that panic.

Show release-note lines
* [BUGFIX] Ingester: Fix panic (`HistogramProtoToHistogram called with a float histogram`) when ingesting a float native histogram with a zero count (e.g. a staleness marker or empty histogram). The decoder is now selected by histogram type via `IsFloatHistogram()` instead of by count value. #7645
github.com/cortexproject/cortex/releases/tag/v1.22.0

Alertmanager blocks file-backed HTTP headers in per-tenant configs

AffectsPer-tenant Alertmanager configs using http_config.http_headers.<NAME>.files with -alertmanager.enable-api=true

At notification time, file paths were read and their contents sent to a tenant-controlled URL, allowing a tenant with Alertmanager API access to disclose files readable by the Alertmanager process. Values and Secrets remain allowed.

GHSA-hq3h-j634-grmc
Show release-note lines
* [BUGFIX] Alertmanager: Tighten per-tenant config validation to reject additional file-based settings. #7767
github.com/cortexproject/cortex/releases/tag/v1.22.0

Breaking changes20

Ruler evaluation-delay settings removed

AffectsCortex configurations using -ruler.evaluation-delay-duration or ruler_evaluation_delay_duration runtime overrides
Action requiredNo deprecated flag or limit, and no ruler_evaluation_delay_duration runtime override; replacements use -ruler.query-offset / ruler_query_offset.

A process started with the removed flag now fails at startup; a leftover runtime override makes startup fail or causes reloads on a running process to fail, retaining the last good overrides and setting cortex_runtime_config_last_reload_successful to 0. The query-offset values no longer use the higher of the two values.

Evidence“Cortex decodes the runtime config strictly, so a leftover `ruler_evaluation_delay_duration` override makes the runtime config fail to load: Cortex **exits at startup** (`module failed`, `module=runtime-config`), and on an already-running process every reload fails, pinning the last good overrides and dropping `cortex_runtime_config_last_reload_successful` to 0.” cortexproject/cortex/releases/tag/v1.22.0 ↗
Show release-note lines
- **Removed flags and stricter config checks**: Cortex removes the deprecated `-ruler.evaluation-delay-duration`, `-querier.ingester-metadata-streaming`, and `-<prefix>.fifocache.size` flags, and eight flags that already had no effect, such as `-querier.iterators`. Passing a removed flag stops Cortex at startup, and so does a leftover `ruler_evaluation_delay_duration` in a runtime config. `query_ingesters_within` must now be less than `-blocks-storage.tsdb.close-idle-tsdb-timeout`, and a config that sets them equal stops Cortex at startup. Read the `[CHANGE]` entries below before you upgrade.
github.com/cortexproject/cortex/releases/tag/v1.22.0

FIFOCache size setting removed

AffectsFIFOCache configurations using -<prefix>.fifocache.size or the size YAML field
Action requiredConfiguration with -<prefix>.fifocache.max-size-items or -<prefix>.fifocache.max-size-bytes instead of only size

Caches configured only through size now start with no capacity.

Evidence“Remove the deprecated `-<prefix>.fifocache.size` flag and its `size` YAML field (deprecated in 1.1.0). Use `-<prefix>.fifocache.max-size-items` or `-<prefix>.fifocache.max-size-bytes`; a cache configured only via `size` now starts with no capacity.” cortexproject/cortex/releases/tag/v1.22.0 ↗
Show release-note lines
- **Removed flags and stricter config checks**: Cortex removes the deprecated `-ruler.evaluation-delay-duration`, `-querier.ingester-metadata-streaming`, and `-<prefix>.fifocache.size` flags, and eight flags that already had no effect, such as `-querier.iterators`. Passing a removed flag stops Cortex at startup, and so does a leftover `ruler_evaluation_delay_duration` in a runtime config. `query_ingesters_within` must now be less than `-blocks-storage.tsdb.close-idle-tsdb-timeout`, and a config that sets them equal stops Cortex at startup. Read the `[CHANGE]` entries below before you upgrade.
github.com/cortexproject/cortex/releases/tag/v1.22.0

Ruler evaluation-delay settings replaced by query offset

AffectsRuler deployments using the removed flag or per-tenant runtime-config field
Action requiredA grep -r ruler_evaluation_delay_duration search across runtime configs before upgrading

Previously, the effective offset was the higher of the two settings; it now comes directly from RulerQueryOffset. A leftover ruler_evaluation_delay_duration override makes startup fail or each reload fail on a running process, which retains last-good overrides and sets cortex_runtime_config_last_reload_successful to 0.

Show release-note lines
* [CHANGE] Ruler: Remove the deprecated `-ruler.evaluation-delay-duration` flag and its `ruler_evaluation_delay_duration` per-tenant limit. Use `-ruler.query-offset` / `ruler_query_offset`, which no longer takes the higher of the two values. Cortex decodes the runtime config strictly, so a leftover `ruler_evaluation_delay_duration` override makes the runtime config fail to load: Cortex **exits at startup** (`module failed`, `module=runtime-config`), and on an already-running process every reload fails, pinning the last good overrides and dropping `cortex_runtime_config_last_reload_successful` to 0. Run `grep -r ruler_evaluation_delay_duration` over your runtime configs before upgrading. #7792
github.com/cortexproject/cortex/releases/tag/v1.22.0

FIFO cache capacity setting removed

Affectscaches configured with -<prefix>.fifocache.size or the size YAML field

Previously, size could set cache capacity. After removal, a cache configured only with that setting starts with no capacity and logs neither max-size-bytes nor max-size-items is set.

Evidence“NewFifoCache no longer copies it into `MaxSizeItems`, so a cache configured only through `size` now starts with no capacity (and already logs "neither max-size-bytes nor max-size-items is set").” cortexproject/cortex/pull/7791 ↗
Show release-note lines
* [CHANGE] Remove the deprecated `-<prefix>.fifocache.size` flag and its `size` YAML field (deprecated in 1.1.0). Use `-<prefix>.fifocache.max-size-items` or `-<prefix>.fifocache.max-size-bytes`; a cache configured only via `size` now starts with no capacity. #7791
github.com/cortexproject/cortex/releases/tag/v1.22.0

Metadata APIs always use streaming RPCs

Affectsquerier setups using -querier.ingester-metadata-streaming, ingester_metadata_streaming, or ingester_streaming

Previously, -querier.ingester-metadata-streaming and ingester_metadata_streaming controlled metadata streaming and defaulted to true; the hidden ingester_streaming field was also accepted.

Show release-note lines
* [CHANGE] Querier: Remove the deprecated `-querier.ingester-metadata-streaming` flag and its `ingester_metadata_streaming` YAML field (deprecated in 1.18.0, default `true`). Streaming RPCs are now always used for the metadata APIs. Also removes the dead hidden `ingester_streaming` YAML field left over from `-querier.ingester-streaming`. #7791
github.com/cortexproject/cortex/releases/tag/v1.22.0

Query Frontend slow-query log field renamed to time_taken_ms

AffectsQuery Frontend slow-query logging(Inferred)

Previously, the log used time_taken with a duration-string value such as 1s; it now uses time_taken_ms with a millisecond count such as 1000 for one second.

Evidence“Rename `time_taken` field to `time_taken_ms` and make it output millisecond count, so sorting and filtering on the field could be done.” cortexproject/cortex/pull/7649 ↗
Show release-note lines
* [ENHANCEMENT] Query Frontend: Rename `time_taken` field to `time_taken_ms` and make it return millisecond count. #7649
github.com/cortexproject/cortex/releases/tag/v1.22.0

Partitioned group file overwrites on read errors fixed

Affectscompactor setups using partitioned group information

A transient ReadPartitionedGroupInfo error, such as S3 throttling, could be swallowed and allow an existing partitioned group file to be overwritten with a new CreationTime. Now, errors other than ErrorPartitionedGroupInfoNotFound are logged and abort creation, leaving the existing file untouched until the next compaction cycle retries.

Evidence“The fix captures the error and, if it is not `ErrorPartitionedGroupInfoNotFound`, logs it and returns — aborting creation so the group will be retried in the next compaction cycle.” cortexproject/cortex/pull/7766 ↗
Show release-note lines
* [BUGFIX] Compactor: Properly handle error from ReadPartitionedGroupInfo in UpdatePartitionedGroupInfo. #7766
github.com/cortexproject/cortex/releases/tag/v1.22.0

Regex tenant federation startup discovery fixed

Affectssetups using regex tenant federation

Queries arriving before the first ticker tick were matched against an empty user list, causing incorrect tenant resolution. Startup now discovers users before serving queries; if initial discovery fails, the service fails to start instead of serving against an empty list.

Evidence“The service must fail to start rather than serving queries against an empty user list.” cortexproject/cortex/pull/7811 ↗
Show release-note lines
* [BUGFIX] Tenant Federation: Fix regex tenant federation resolving to an empty user list right after startup. #7811
github.com/cortexproject/cortex/releases/tag/v1.22.0

Querier metadata streaming options removed

Affectsquerier configurations using -querier.ingester-metadata-streaming, ingester_metadata_streaming, or ingester_streaming

Metadata APIs now always use streaming RPCs; previously, streaming could be configured with an option that defaulted to true. Passing the removed flag stops Cortex at startup.

Evidence“Remove the deprecated `-querier.ingester-metadata-streaming` flag and its `ingester_metadata_streaming` YAML field (deprecated in 1.18.0, default `true`). Streaming RPCs are now always used for the metadata APIs. Also removes the dead hidden `ingester_streaming` YAML field left over from `-querier.ingester-streaming`.” cortexproject/cortex/releases/tag/v1.22.0 ↗
Show release-note lines
- **Removed flags and stricter config checks**: Cortex removes the deprecated `-ruler.evaluation-delay-duration`, `-querier.ingester-metadata-streaming`, and `-<prefix>.fifocache.size` flags, and eight flags that already had no effect, such as `-querier.iterators`. Passing a removed flag stops Cortex at startup, and so does a leftover `ruler_evaluation_delay_duration` in a runtime config. `query_ingesters_within` must now be less than `-blocks-storage.tsdb.close-idle-tsdb-timeout`, and a config that sets them equal stops Cortex at startup. Read the `[CHANGE]` entries below before you upgrade.
github.com/cortexproject/cortex/releases/tag/v1.22.0

Cortex removes eight deprecated no-op CLI flags

AffectsCortex command lines containing any of -querier.ingester-streaming, -querier.iterators, -querier.batch-iterators, -querier.query-store-for-labels-enabled, -querier.max-outstanding-requests-per-tenant, -query-scheduler.max-outstanding-requests-per-tenant, -blocks-storage.tsdb.wal-compression-enabled, or -ingester.max-series-per-query
Action requiredRemoval of these flags from command lines before upgrading

These flags had no effect for at least two minor releases. Passing any of them now stops Cortex at startup.

Evidence“All of them were flag-only (no YAML config option) and already had no effect, so the only impact is that passing them now fails at startup.” cortexproject/cortex/releases/tag/v1.22.0 ↗
Show release-note lines
- **Removed flags and stricter config checks**: Cortex removes the deprecated `-ruler.evaluation-delay-duration`, `-querier.ingester-metadata-streaming`, and `-<prefix>.fifocache.size` flags, and eight flags that already had no effect, such as `-querier.iterators`. Passing a removed flag stops Cortex at startup, and so does a leftover `ruler_evaluation_delay_duration` in a runtime config. `query_ingesters_within` must now be less than `-blocks-storage.tsdb.close-idle-tsdb-timeout`, and a config that sets them equal stops Cortex at startup. Read the `[CHANGE]` entries below before you upgrade.
github.com/cortexproject/cortex/releases/tag/v1.22.0

Query-ingester timeout must be below the idle-TSDB timeout

AffectsQuerier and runtime configurations with positive query_ingesters_within values at or above close_idle_tsdb_timeout, including per-tenant overrides
Action requiredclose_idle_tsdb_timeout above the largest query_ingesters_within value, or set to 0 to disable closing idle TSDBs

Earlier releases allowed and documented equal values. Now equal values make Cortex exit at startup; an offending tenant override makes runtime config fail to load, and failed reloads retain the last good overrides and set cortex_runtime_config_last_reload_successful to 0.

Evidence“The check also runs on every per-tenant override in the runtime config (on the `all`, `distributor`, `querier` and `ruler` targets), so a single tenant override that sets `query_ingesters_within` at or above `close_idle_tsdb_timeout` makes the whole runtime config fail to load” cortexproject/cortex/releases/tag/v1.22.0 ↗
Show release-note lines
- **Removed flags and stricter config checks**: Cortex removes the deprecated `-ruler.evaluation-delay-duration`, `-querier.ingester-metadata-streaming`, and `-<prefix>.fifocache.size` flags, and eight flags that already had no effect, such as `-querier.iterators`. Passing a removed flag stops Cortex at startup, and so does a leftover `ruler_evaluation_delay_duration` in a runtime config. `query_ingesters_within` must now be less than `-blocks-storage.tsdb.close-idle-tsdb-timeout`, and a config that sets them equal stops Cortex at startup. Read the `[CHANGE]` entries below before you upgrade.
github.com/cortexproject/cortex/releases/tag/v1.22.0

Query time-range settings moved to per-tenant limits

Affectssetups configuring query_ingesters_within, query_store_after, or shuffle_sharding_ingesters_lookback_period in querier settings, flags, or tenant limits
Removed inv1.24.0

Previously, these settings were in the querier block and used -querier.* flags. The old field and flag names still work but log a warning and increment deprecated_flags_inuse_total; durations use model.Duration with a 1 ms minimum unit.

Evidence“The settings move from the `querier` block to `limits`, and their flags from `-querier.*` to `-limits.*`. The old YAML fields and flags still work, but are deprecated and will be removed in v1.24.0: using them logs a warning and increments `deprecated_flags_inuse_total`.” cortexproject/cortex/releases/tag/v1.22.0 ↗
Show release-note lines
- **Per-tenant query time ranges and HA failover timeout**: `query_ingesters_within`, `query_store_after`, and `shuffle_sharding_ingesters_lookback_period` move from the `querier` block to `limits`, and `-distributor.ha-tracker.failover-timeout` becomes a per-tenant limit. The 1.21 names keep working until v1.24.0 and log a warning.
github.com/cortexproject/cortex/releases/tag/v1.22.0

Cortex removes deprecated no-op command-line flags

Affectsdeployments whose command lines still pass any of the eight listed flags
Action requiredRemove the listed deprecated flags from command lines before upgrading.

These flags already had no effect, but passing any of them now causes startup to fail.

Show release-note lines
* [CHANGE] Remove deprecated CLI flags that have been no-ops for at least two minor releases. All of them were flag-only (no YAML config option) and already had no effect, so the only impact is that passing them now fails at startup. Remove them from your command lines before upgrading. #7790
  - `-querier.ingester-streaming` (deprecated in 1.17.0)
  - `-querier.iterators` (deprecated in 1.17.0)
  - `-querier.batch-iterators` (deprecated in 1.17.0)
  - `-querier.query-store-for-labels-enabled` (deprecated in 1.18.0)
  - `-querier.max-outstanding-requests-per-tenant` (deprecated in 1.18.0; use `-frontend.max-outstanding-requests-per-tenant`)
  - `-query-scheduler.max-outstanding-requests-per-tenant` (deprecated in 1.18.0; use `-frontend.max-outstanding-requests-per-tenant`)
  - `-blocks-storage.tsdb.wal-compression-enabled` (deprecated in 1.19.0; use `-blocks-storage.tsdb.wal-compression-type`)
  - `-ingester.max-series-per-query` (a chunks-storage limit, ignored since blocks storage; use `-querier.max-fetched-series-per-query`)
github.com/cortexproject/cortex/releases/tag/v1.22.0

Query time-range settings move to per-tenant limits

AffectsQuerier configurations using query_ingesters_within, query_store_after, or shuffle_sharding_ingesters_lookback_period
Action requiredOld and new names must not have different values in the same YAML file or on the same command line.
Removed inv1.24.0

The old querier YAML fields and -querier.* flags still work, but emit a deprecation warning and increment deprecated_flags_inuse_total; command-line flags take precedence over YAML. Durations below 1ms are unsupported.

Show release-note lines
* [CHANGE] Querier: Make query time range configurations per-tenant: `query_ingesters_within`, `query_store_after`, and `shuffle_sharding_ingesters_lookback_period`. Uses `model.Duration` instead of `time.Duration` to support serialization but has minimum unit of 1ms (nanoseconds/microseconds not supported). The settings move from the `querier` block to `limits`, and their flags from `-querier.*` to `-limits.*`. The old YAML fields and flags still work, but are deprecated and will be removed in v1.24.0: using them logs a warning and increments `deprecated_flags_inuse_total`. As before, a flag on the command line wins over the YAML file, whether it uses the old or the new name. Setting the old and the new name to different values in the same place, both in the YAML file or both on the command line, fails at startup. #7160 #7323 #7919
github.com/cortexproject/cortex/releases/tag/v1.22.0

Cortex query and TSDB timeout validation tightened

Affectsconfigurations where positive query_ingesters_within is not less than close_idle_tsdb_timeout, or tenant overrides that violate these or the query-range constraints
Action requiredSet close_idle_tsdb_timeout above the largest query_ingesters_within in the config and runtime overrides, or set it to 0 to disable closing idle TSDBs.

Previously, equal positive timeout values were accepted, and the query-range checks were not applied to tenant overrides. Now, equal values make startup fail; invalid tenant overrides can also fail startup or runtime-config reloads, leaving the last good overrides in place and setting cortex_runtime_config_last_reload_successful to 0.

Show release-note lines
* [CHANGE] Querier: `query_ingesters_within` must now be strictly less than `-blocks-storage.tsdb.close-idle-tsdb-timeout` when both are positive. Earlier releases did not check this, and documented the two being equal as valid, so a config that sets them equal now makes Cortex **exit at startup** with `invalid query routing config: tenant default: query_ingesters_within (6h50m0s) must be less than close_idle_tsdb_timeout (6h50m0s)`. The check also runs on every per-tenant override in the runtime config (on the `all`, `distributor`, `querier` and `ruler` targets), so a single tenant override that sets `query_ingesters_within` at or above `close_idle_tsdb_timeout` makes the whole runtime config fail to load: Cortex exits at startup, and on an already-running process every reload fails, pinning the last good overrides and dropping `cortex_runtime_config_last_reload_successful` to 0. Before upgrading, raise `close_idle_tsdb_timeout` above the largest `query_ingesters_within` in your config and runtime overrides, or set it to 0 to disable closing idle TSDBs. The existing checks that `query_store_after` is less than `query_ingesters_within`, and that `shuffle_sharding_ingesters_lookback_period` is at least `query_store_after`, now also apply to per-tenant overrides. #7323
github.com/cortexproject/cortex/releases/tag/v1.22.0

Alertmanager startup migration for legacy local state files removed

AffectsAlertmanager deployments upgrading from before 1.9.0 with a persisted local state directory

Previously, startup moved legacy local state files into per-tenant directories. The migration must now run in an intermediate release before upgrading directly to this release.

Show release-note lines
* [CHANGE] Alertmanager: Remove the obsolete startup migration of local state files into per-tenant directories (scheduled for removal in 1.11.0). Upgrading from a release older than 1.9.0 with a persisted local state directory now requires upgrading to an intermediate release first, so the migration can run. #7513
github.com/cortexproject/cortex/releases/tag/v1.22.0

Silence creation now requires createdBy

AffectsClients that create silences through the HTTP API

Alertmanager's Swagger-generated API models now split Silence into separate types.

Evidence“- `createdBy` field is now required when creating a silence via the HTTP API” cortexproject/cortex/pull/7462 ↗
Show release-note lines
* [ENHANCEMENT] Upgrade prometheus alertmanager version to v0.32.1. #7462
github.com/cortexproject/cortex/releases/tag/v1.22.0

RPM and deb package install paths corrected

AffectsRPM or deb installations using the package-provided systemd unit

Previously, the binary was installed at /usr/local/bin/cortex and the unit at /etc/systemd/system/cortex.service. The binary now installs at /usr/bin/cortex; the unit installs at /usr/lib/systemd/system for RPM packages and /lib/systemd/system for deb packages, and executes /usr/bin/cortex.

Show release-note lines
* [BUGFIX] Packaging: Fix RPM and deb packages to install the binary to `/usr/bin`, install the systemd unit to the correct system path (`/usr/lib/systemd/system` for RPM, `/lib/systemd/system` for deb), and mark the sysconfig/default env file as a config file so it is not overwritten on upgrade. #7445
github.com/cortexproject/cortex/releases/tag/v1.22.0

Multitenant Alertmanager blocks tenant creation during shutdown

AffectsMultitenant Alertmanager fallback tenant creation

When a fallback request races with shutdown—including on the sharded gRPC HandleRequest path or after passing the service-state check just before shutdown—it could create an Alertmanager after existing instances were stopped, leak goroutines, and return HTTP 200. Now the request receives HTTP 503 instead of creating a new instance.

Evidence“The shutdown-vs-lazy-create hole is independent: `stopping()` stops only the alertmanagers present in the map when it runs, and `serveRequest` can be reached without `ServeHTTP`'s service-state check (the gRPC `HandleRequest` path when sharding is enabled) or after passing that check just before the state transition. A request losing that race would upload a config, register a new Alertmanager **after** shutdown stopped the others, return 200 from a shutting-down process, and leak the new instance's goroutines.” cortexproject/cortex/pull/7618 ↗
Show release-note lines
* [BUGFIX] Alertmanager: Fix data race between ApplyConfig's dispatcher/inhibitor startup and Stop during config reload and shutdown, and reject lazy tenant creation after shutdown begins. #7618
github.com/cortexproject/cortex/releases/tag/v1.22.0

Per-tenant Alertmanager validation rejects global mattermost_webhook_url_file

Affectsper-tenant Alertmanager configs with a global mattermost_webhook_url_file setting

Previously, configs without a Mattermost receiver were accepted even though the setting was never read; configs with a Mattermost receiver were already rejected.

Evidence“Not exploitable today. When a mattermost receiver is present, upstream copies the global value into the receiver's `WebhookURLFile` during unmarshal, which runs before validation, so the per-receiver check already rejected it. With no mattermost receiver the value was accepted but never read.” cortexproject/cortex/pull/7768 ↗
Show release-note lines
* [BUGFIX] Alertmanager: Reject the global `mattermost_webhook_url_file` setting in per-tenant configs, consistent with every other global `*_file` setting. #7768
github.com/cortexproject/cortex/releases/tag/v1.22.0

Deprecations3

HA tracker failover timeout becomes configurable per tenant

Affectssetups configuring the distributor HA tracker failover timeout
Removed inv1.24.0

Previously, the timeout was global in distributor.ha_tracker.ha_tracker_failover_timeout; it can now vary by tenant through limits.ha_tracker_failover_timeout. The -distributor.ha-tracker.failover-timeout flag and its 30s default remain unchanged, and the old YAML field is still supported but deprecated.

Show release-note lines
- **Per-tenant query time ranges and HA failover timeout**: `query_ingesters_within`, `query_store_after`, and `shuffle_sharding_ingesters_lookback_period` move from the `querier` block to `limits`, and `-distributor.ha-tracker.failover-timeout` becomes a per-tenant limit. The 1.21 names keep working until v1.24.0 and log a warning.
github.com/cortexproject/cortex/releases/tag/v1.22.0

Ingester -blocks-storage.tsdb.max-exemplars deprecated

AffectsIngester setups with a non-zero -blocks-storage.tsdb.max-exemplars value
Removed inv1.24.0

The flag remains the global fallback for tenants whose max_exemplars is 0. A non-zero value now logs a startup warning and increments deprecated_flags_inuse_total.

Show release-note lines
* [CHANGE] Ingester: Formally deprecate `-blocks-storage.tsdb.max-exemplars`, scheduled for removal in v1.24.0. Use the per-tenant `max_exemplars` limit instead. The flag still works as the global fallback when `max_exemplars` is 0, but setting it now logs a warning and increments `deprecated_flags_inuse_total`. #7793
github.com/cortexproject/cortex/releases/tag/v1.22.0

HA tracker failover timeout gains per-tenant configuration

AffectsHA Tracker deployments configuring failover timeouts, especially those using distributor.ha_tracker.ha_tracker_failover_timeout or needing per-tenant values
Removed inv1.24.0

Previously, the timeout was global, with no per-tenant runtime override. The old YAML field still works but logs a warning and increments deprecated_flags_inuse_total; setting it and the new field to different values fails at startup.

Show release-note lines
* [CHANGE] HA Tracker: Move `-distributor.ha-tracker.failover-timeout` from a global config to a per-tenant runtime config. The flag name and default value (30s) remain the same. The YAML field moves from `distributor.ha_tracker.ha_tracker_failover_timeout` to `limits.ha_tracker_failover_timeout`. The old field still works, but is deprecated and will be removed in v1.24.0: using it logs a warning and increments `deprecated_flags_inuse_total`. As before, the flag on the command line wins over either YAML field. Setting the old and the new YAML field to different values fails at startup. #7481 #7919
github.com/cortexproject/cortex/releases/tag/v1.22.0

Important fixes37Silent failure2

  • Querier cancellation errors now propagate
    AffectsQuerier requests using queryWithRetry or labelsWithRetry(Inferred)

    When either function was called with a cancelled context, it returned (nil, nil) instead of reporting the cancellation. It now returns ctx.Err().

    * [BUGFIX] Querier: Fix queryWithRetry and labelsWithRetry returning (nil, nil) on cancelled context by propagating ctx.Err(). #7370
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Merged histogram buckets sorted by UpperBound
    Affectssetups that merge histogram metrics(Inferred)

    Before this fix, bucket order varied when merged histogram buckets were built from a map.

    * [BUGFIX] Metrics Helper: Fix non-deterministic bucket order in merged histograms by sorting buckets after map iteration, matching Prometheus client library behavior. #7380
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Cortex package environment files preserved on upgrade
    AffectsRPM installations with /etc/sysconfig/cortex or deb installations with /etc/default/cortex

    Before this fix, an RPM or deb upgrade silently overwrote the corresponding environment file because it was not marked as a configuration file.

    * [BUGFIX] Packaging: Fix RPM and deb packages to install the binary to `/usr/bin`, install the systemd unit to the correct system path (`/usr/lib/systemd/system` for RPM, `/lib/systemd/system` for deb), and mark the sysconfig/default env file as a config file so it is not overwritten on upgrade. #7445
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Compactor cleanup of stale bucket-index metrics fixed
    Affectscompactor setups where ring rebalancing changes tenant ownership

    When ring rebalancing moved a tenant between compactors, the old owner's cortex_bucket_index_last_successful_update_timestamp_seconds series remained alongside the new one, triggering false alarms on bucket index update rate. Metrics for tenants no longer owned by a compactor are now deleted.

    * [BUGFIX] Compactor: Fix stale `cortex_bucket_index_last_successful_update_timestamp_seconds` metric not being cleaned up when tenant ownership changes due to ring rebalancing. This caused false alarms on bucket index update rate when a tenant moved between compactors. #7485 #7487
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Tenant federation result cache now tracks matched tenants
    Affectstenant federation with -tenant-federation.regex-matcher-enabled=true and the result cache

    When a new tenant changed the regex-matched tenant set, cached results could omit that tenant’s data until the cache entry expired. Changes to the matched set now change the cache key and invalidate the cached entry; non-regex users are unaffected.

    * [BUGFIX] Tenant Federation: Fix result cache returning stale data after a new tenant is added when `-tenant-federation.regex-matcher-enabled=true`. The resolved tenant set is now hashed and included in the cache key so that any change to the matched tenant list automatically invalidates cached entries. Non-regex users are unaffected. #7562
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ring token conflict resolution fixed
    Affectsring instances in the JOINING state(Inferred)

    When two instances joined at the same time, the first CAS could miss their conflict, and later calls might not recheck it; conflicting instances missed as newly added or updated could keep stale tokens. During the observe period, each CAS now checks for conflicts and updates all instances involved with resolved tokens.

    * [BUGFIX] Ring: Fix ring token conflict resolution only applied to updated instance and make constantly token conflict check during instance observe period. #7554
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Query Frontend sorting of native-histogram results fixed
    Affectsrange queries using split_by_interval(Inferred)

    When sub-interval responses contained only native histograms, minTime() returned -1 for each, so they could be sorted incorrectly and histogram data could be lost in the merge. It now uses the first histogram's timestamp when no float samples are present, preserving chronological order before merging.

    * [BUGFIX] Query Frontend: Fix native histogram responses not being handled correctly in `minTime()` sort ordering for split_by_interval merge. #7555
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ruler registers Thanos xfunctions before loading rulesSilent failure
    AffectsRuler setups with the Thanos engine xfunctions flag enabled

    Previously, loading rule files from S3 or disk silently dropped recording rules containing xincrease, xrate, or xdelta because the rule-file loader's global parser did not include those functions.

    * [BUGFIX] Ruler: Register xfunctions (xincrease, xrate, xdelta) in the global parser before loading rule files. #7621
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier parquet fallback now returns query errors
    AffectsQuerier setups using the parquet queryable fallback for LabelValues or LabelNames

    When either call encountered a query error through the fallback, it could return nil instead of the actual error. The fallback now returns that query error to the caller.

    * [BUGFIX] Querier: Fix parquet queryable fallback returning a nil error instead of the actual query error in `LabelValues` and `LabelNames`. #7638
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • gRPC DNS watcher preserves endpoints when SRV targets fail
    Affectssetups using the gRPC DNS watcher's SRV-record path

    When an SRV query succeeds but every target's A-record lookup fails, the watcher previously returned an empty result, deleting known endpoints. It now tries the watched host's A record, using those addresses with the watcher's port if it resolves and retaining cached endpoints if it does not.

    * [BUGFIX] Fix the gRPC DNS watcher's SRV record path deleting all known endpoints when the SRV query succeeds but every target's A record lookup fails. #7745
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • CSV-list flags and YAML fields now parse empty values as empty lists
    AffectsCSV-list flags or YAML fields set to an empty string

    Previously, an explicitly empty value was parsed as a one-item list containing an empty tenant name. It now parses as an empty list.

    * [BUGFIX] Config: Fix CSV-list flags/YAML fields (e.g. `-compactor.enabled-tenants`) treating an explicitly empty string as a one-element list containing an empty tenant name instead of an empty list. #7714
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Regex tenant federation cache corruption fixedSilent failure
    Affectsregex tenant federation with -blocks-storage.users-scanner.cache-ttl set

    With -blocks-storage.users-scanner.cache-ttl set, the resolver's in-place sort corrupted the scanner cache and progressively dropped tenants from federated query results on each sync until the cache expired. The resolver now copies the scanner's user list before sorting.

    * [BUGFIX] Tenant Federation: Fix regex tenant federation dropping tenants when `-blocks-storage.users-scanner.cache-ttl` is set. The regex resolver sorted the user list returned by the users scanner in place, corrupting the scanner cache and progressively losing tenants on every sync until the cache expired. #7812
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester forced head compaction skips no longer counted as failures
    AffectsIngester setups where blocks shipping can overlap forced head compaction

    When blocks shipping was in progress, skipped forced head compactions incremented cortex_ingester_tsdb_compactions_failed_total, producing spurious alerts; those skips no longer increment the counter.

    * [BUGFIX] Ingester: Don't count a forced head compaction skipped because blocks shipping is in progress as a failure. Previously such skips incremented `cortex_ingester_tsdb_compactions_failed_total`, producing spurious alerts. #7842
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Parquet conversion failure fixed with automatic sharding
    AffectsParquet converter setups with -parquet-converter.max-num-columns configured

    TSDB blocks with more unique label names than the Parquet library's 32767-column limit could fail conversion. With a configured column limit, those blocks are automatically sharded for conversion.

    - **Parquet**: Sharded parquet file conversion and querying, an experimental `-parquet-converter.max-num-columns` flag that shards a block with too many label names, a row ranges cache, and a ring status page for the parquet converter.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester streaming query buffer retention fixed
    AffectsQuerier/Ingester setups using the ingester streaming query path

    During long-running queries under heavy ingester query load, label strings and chunk data could keep receive buffers alive, causing heap usage to grow. The query path now copies that data out of the buffers so they can be reclaimed, at the cost of additional short-lived allocations.

    * [ENHANCEMENT] Querier/Ingester: Detach ingester series from gRPC buffers to reduce heap. #7670
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Distributor deduplication of repeated metric metadata in PRW 2.0 conversion
    AffectsDistributor setups receiving Prometheus Remote Write 2.0 requests

    Previously, metadata attached to every PRW 2.0 series expanded into one MetricMetadata per series. Because metadata counts toward the ingestion limit, tenants could consume roughly twice their configured -distributor.ingestion-rate-limit for the same data; the Distributor now deduplicates repeated metadata during conversion.

    * [ENHANCEMENT] Distributor: Deduplicate metric metadata when converting PRW 2.0 requests. PRW 2.0 attaches metadata to every series, so a metric family was previously expanded into one `MetricMetadata` per series. #7760
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Prometheus Remote Write 2.0 handler returns HTTP 401 when tenant ID resolution fails
    AffectsPrometheus Remote Write 2.0 requests

    The response includes the tenant ID resolution error as its text.

    * [BUGFIX] Distributor: Return HTTP 401 Unauthorized when tenant ID resolution fails in the Prometheus Remote Write 2.0 path. #7389
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Compactor bucket index cleanup failure fixed
    AffectsCompactor setups using the bucket index updater

    If meta.json was deleted after a stale cached Get(), the resulting Attributes() error could fail the entire cleanup cycle. The updater now handles not-found and access-denied errors, so this case no longer fails the cycle.

    * [BUGFIX] Compactor: Handle not-found and access-denied errors from `Attributes()` in bucket index updater, preventing a stale cached `Get()` from causing the entire cleanup cycle to fail when `meta.json` has been deleted from object storage. #7454
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester TSDB cleanup on compaction failure
    Affectsingesters using TSDB

    If compaction failed after tsdb.Open(), createTSDB returned without closing the database, leaking file descriptors and memory-mapped handles that could destabilize the ingester. It now closes the TSDB before returning the compaction error and logs a warning if closing also fails.

    * [BUGFIX] Ingester: Close TSDB when compaction fails during `createTSDB`, preventing resource leaks (file descriptors, mmap handles) that could lead to ingester instability. #7560
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Tenant-federation regex resolver preserves user state on scan failures
    Affectstenant-federation regex resolver with user discovery scans(Inferred)

    Previously, a failed user scan cleared the known-users list and could reset the matched cache. Now both are preserved, and queries can still resolve from cached state.

    * [BUGFIX] Tenant Federation: Fix regex resolver clearing known users list when user scan fails. #7534
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester inflight query counter leak fixed
    AffectsIngester setups using resource-based query protection

    When resource-based query protection rejected a request, the inflight query counter leaked.

    * [BUGFIX] Ingester: Fix inflight query counter leak when resource-based query protection rejects a request. #7539
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • ActiveQueriedSeriesService shutdown panic fixed
    AffectsIngester setups using ActiveQueriedSeriesService

    During shutdown, ActiveQueriedSeriesService could panic with panic: send on closed channel. The redundant channel close in stopping() is removed, and worker exit is signaled through ctx.Done().

    * [BUGFIX] Ingester: Fix `panic: send on closed channel` in `ActiveQueriedSeriesService` on shutdown by removing the redundant channel close in `stopping()` and relying on `ctx.Done()` to signal worker exit. #7533
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • ring.DoBatch cleanup fixed for callback panics
    Affectssetups using ring.DoBatch

    Previously, a panic in a per-instance callback skipped wg.Done(), leaving wg.Wait() blocked and preventing cleanup, so context timers and request buffers were not reclaimed. wg.Done() now runs during panic unwinding, allowing cleanup to release them.

    * [BUGFIX] Ring: Fix `DoBatch` never running its cleanup callback when a per-instance callback panics. `wg.Done()` is now deferred, so `wg.Wait()` no longer blocks forever and the context timers and request buffers owned by the cleanup function are released. #7559
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier bucket-scan resource leak fixed
    AffectsQuerier deployments using the bucket-scan blocks finder with the bucket index disabled

    When tenants were deleted from storage or became inactive, their metadata fetchers, Prometheus registries, and on-disk metadata caches accumulated for the process lifetime. After each scan, resources for inactive tenants are evicted; the cortex_blocks_meta_synced gauge series drops to zero, while co-located store-gateway block data is preserved.

    * [BUGFIX] Querier: Fix unbounded resource leak in the bucket-scan blocks finder (used when the bucket index is disabled). Per-tenant metadata fetchers, their Prometheus registries, and on-disk meta caches are now evicted once a tenant is no longer active, instead of being retained for the lifetime of the process. #7573
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Per-tenant Alertmanager startup/stop race fixed
    Affectsper-tenant Alertmanager instances

    When an instance was stopped during reload, tenant deactivation, or process shutdown, ApplyConfig could return before the inhibitor and dispatcher finished their initial load, allowing a race with dispatcher startup and an inhibitor goroutine leak. Successful calls now wait for the initial in-memory load to finish before returning.

    * [BUGFIX] Alertmanager: Fix data race between ApplyConfig's dispatcher/inhibitor startup and Stop during config reload and shutdown, and reject lazy tenant creation after shutdown begins. #7618
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Distributor push worker goroutines released on shutdown
    Affectsdistributors configured with -distributor.num-push-workers

    The async executor is stopped during the distributor's stopping phase.

    * [BUGFIX] Distributor: Release the push worker pool goroutines on shutdown by stopping the async executor during the stopping phase when `-distributor.num-push-workers` is set. #7602
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Query Frontend query statistics now include data-selection time bounds
    AffectsCortex Query Frontend query and query_range requests

    When both query priority and query rejection were disabled, DataSelectMinTime and DataSelectMaxTime were absent from request stats. They are now set for these requests even in that configuration.

    * [BUGFIX] Query Frontend: Track data selection min and max time of query requests in query stats regardless of whether query priority and query rejection are enabled. #7724
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • YAML validation accepts explicit zero values in non-empty root sections
    AffectsYAML configurations with explicit zero values in a non-empty root section

    Empty root sections remain rejected.

    * [BUGFIX] Config: Fix validation of explicit zero values in non-empty YAML root sections, allowing configs such as `flusher: { exit_after_flush: false }` while continuing to reject empty root sections. #7700
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier request-tracker UTF-8 truncation panic fixed
    Affectsquerier request tracking

    Truncating a multi-byte UTF-8 character could panic, including when the remaining size budget was zero or negative. Such truncations now produce valid UTF-8 JSON without panicking.

    * [BUGFIX] Querier: Fix panic due to request tracker truncating multi-byte UTF-8 character #7640
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Azure storage endpoint suffix defaults to blob.core.windows.net
    AffectsAzure storage with endpoint_suffix unset(Inferred)

    With endpoint_suffix unset, components previously hung on startup with DNS errors because Cortex passed an empty suffix and produced an invalid FQDN (<account>.).

    * [BUGFIX] Storage: Default the Azure `endpoint_suffix` to `blob.core.windows.net` instead of empty. Cortex builds the Thanos Azure config directly and bypasses Thanos' default, so an unset suffix produced an invalid FQDN (`<account>.`) and components hung on startup with DNS errors. #5449 #7687
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Transient DNS failures no longer drop worker connections
    Affectsquery-frontend/scheduler worker connections managed by the Querier/Query Frontend DNS watcher

    A failed lookup previously cleared every known address, dropping query-frontend/scheduler worker connections. The watcher now keeps previously resolved addresses cached when DNS resolution fails.

    * [BUGFIX] Querier/Query Frontend: Fix DNS watcher dropping all query-frontend/scheduler worker connections on a transient DNS lookup failure. #7698
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • DynamoDB ring CAS now retries transaction conflicts
    Affectssetups using DynamoDB as the ring KV store

    Previously, a concurrent ring update conflict—such as many ingesters joining during a rolling update—caused the update to fail immediately. Now, the CAS loop re-reads the latest ring state, reapplies the mutation, and retries the write.

    * [BUGFIX] Ring: Fix DynamoDB KV CAS not retrying on transactional conditional check failures. `TransactWriteItems` reports condition failures as `TransactionCanceledException` with a `ConditionalCheckFailed` cancellation reason, which was not recognized as retryable, so any concurrent ring update conflict (e.g. many ingesters joining during a rolling update) failed immediately instead of re-reading and retrying. `TransactionConflict` cancellation reasons are also treated as retryable. #7706
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Distributor returns HTTP 499 for client-canceled pushes
    Affectssetups receiving remote-write or OTLP push requests

    When a client cancels one of these requests—for example, by disconnecting or when a fronting proxy or load balancer times out—it previously returned HTTP 500 and was counted as a server-side error. Canceled requests are no longer counted as server-side errors.

    * [BUGFIX] Distributor: Return HTTP 499 (Client Closed Request) instead of 500 when a remote-write or OTLP push is canceled by the client, so client-side cancellations are no longer counted as server-side errors. #7717
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier canceled-query HTTP status mapping fixed
    AffectsQuerier handling of client-canceled queries

    When a client canceled a query and the Querier received a gRPC codes.Canceled error, it returned HTTP 500, causing false CortexRequestErrors alerts on cortex_request_duration_seconds. It now returns HTTP 499 for that query.

    * [BUGFIX] Querier: Fix gRPC `codes.Canceled` errors being mapped to HTTP 500 instead of 499 when a client cancels a query. #7738
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Alertmanager config validation panic fixed
    AffectsAlertmanager config validation

    validateAlertmanagerConfig could panic while traversing nil root, map, or slice values. It now completes validation without panicking, and the tested inputs return no validation error.

    * [BUGFIX] Alertmanager: Fix panic in `validateAlertmanagerConfig` when receiver config traversal encounters nil interface values. #7751
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier active request tracker panic fixed
    AffectsQuerier active request tracking

    When it truncated a match[]/query value made entirely of invalid UTF-8 continuation bytes, the backwards scan underflowed and panicked with index out of range [-1]. The scan now stops at index 0 instead, avoiding the panic.

    * [BUGFIX] Querier: Fix panic (`index out of range [-1]`) in the active request tracker when truncating a `match[]`/`query` value made entirely of invalid UTF-8 continuation bytes. The backwards scan for a rune boundary now stops at index 0 instead of underflowing. #7743
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Compactor final cleanup false failure report fixed
    AffectsCompactor setups using GCS, Azure, Swift, or OCI object stores

    During final cleanup for a tenant marked for deletion, an error when deleting a missing object caused the cleanup to be reported as failed.

    * [BUGFIX] Compactor: Fix the final cleanup of a tenant marked for deletion being reported as failed on object stores that return an error when deleting a missing object (GCS, Azure, Swift, OCI). #7861
    github.com/cortexproject/cortex/releases/tag/v1.22.0

Enhancements41

  • Native and classic formats for remaining Cortex production histograms
    - **Native histograms leave experimental status**: Ingestion with `-blocks-storage.tsdb.enable-native-histograms` is no longer experimental. All remaining production histograms now expose native and classic formats.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Sharded Parquet conversion and querying supported
    - **Parquet**: Sharded parquet file conversion and querying, an experimental `-parquet-converter.max-num-columns` flag that shards a block with too many label names, a row ranges cache, and a ring status page for the parquet converter.
    * [FEATURE] Parquet: Support sharded parquet file conversion and querying. #7610
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Row-ranges cache for Parquet query filtering
    - **Parquet**: Sharded parquet file conversion and querying, an experimental `-parquet-converter.max-num-columns` flag that shards a block with too many label names, a row ranges cache, and a ring status page for the parquet converter.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Parquet converter ring status page added
    - **Parquet**: Sharded parquet file conversion and querying, an experimental `-parquet-converter.max-num-columns` flag that shards a block with too many label names, a row ranges cache, and a ring status page for the parquet converter.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Resource-based query rejection for queriers

    To use Set -querier.query-protection.rejection.threshold.cpu-utilization and/or -querier.query-protection.rejection.threshold.heap-utilization to a nonzero value, and include the corresponding resource type in monitored_resources.

    - **Resource-based query protection**: The querier throttles requests based on resource use, and query eviction cancels the heaviest running query when CPU or heap use passes the configured thresholds.
    * [FEATURE] Querier: Implement Resource Based Throttling in Querier. #7442
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier query eviction based on CPU and heap utilization

    To use A value above 0 for cpu-utilization and/or heap-utilization; disabled when both are 0

    - **Resource-based query protection**: The querier throttles requests based on resource use, and query eviction cancels the heaviest running query when CPU or heap use passes the configured thresholds.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • OCI Object Storage support for blocks, ruler rules, and Alertmanager state

    To use Select backend: oci and configure the -<prefix>.oci.* flags.

    - **Oracle Cloud Infrastructure Object Storage**: Use `backend: oci` and the `-<prefix>.oci.*` flags to store blocks, ruler rules, and alertmanager state in OCI.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Phase-based query timeout classification

    To use Query timeout classification enabled

    - **Query timeout classification**: When enabled, a query that spends most of its time in PromQL evaluation returns `422 Unprocessable Entity` instead of `503 Service Unavailable`.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester per-tenant active-series tracking

    To use Configured via active_series_trackers in runtime config overrides

    - **More new options**: Per-tenant active series trackers that match on labels, including regexes (`active_series_trackers`, experimental). A goroutine worker pool for distributor queries to ingesters (`-distributor.num-query-workers`, experimental). A store-gateway limit on concurrently processed data bytes (`-blocks-storage.bucket-store.max-concurrent-data-bytes`, experimental). Start timestamp ingestion for Prometheus Remote Write 2.0 (`-distributor.enable-start-timestamp`, experimental). A memberlist cluster label (`-memberlist.cluster-label`) that stops accidental cross-cluster gossip joins.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Worker pool for distributor query fan-out

    To use -distributor.num-query-workers flag

    - **More new options**: Per-tenant active series trackers that match on labels, including regexes (`active_series_trackers`, experimental). A goroutine worker pool for distributor queries to ingesters (`-distributor.num-query-workers`, experimental). A store-gateway limit on concurrently processed data bytes (`-blocks-storage.bucket-store.max-concurrent-data-bytes`, experimental). Start timestamp ingestion for Prometheus Remote Write 2.0 (`-distributor.enable-start-timestamp`, experimental). A memberlist cluster label (`-memberlist.cluster-label`) that stops accidental cross-cluster gossip joins.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Store-gateway concurrent Series() data byte limit

    To use blocks-storage.bucket-store.max-concurrent-data-bytes

    - **More new options**: Per-tenant active series trackers that match on labels, including regexes (`active_series_trackers`, experimental). A goroutine worker pool for distributor queries to ingesters (`-distributor.num-query-workers`, experimental). A store-gateway limit on concurrently processed data bytes (`-blocks-storage.bucket-store.max-concurrent-data-bytes`, experimental). Start timestamp ingestion for Prometheus Remote Write 2.0 (`-distributor.enable-start-timestamp`, experimental). A memberlist cluster label (`-memberlist.cluster-label`) that stops accidental cross-cluster gossip joins.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Distributor ingestion of StartTimestamp from Prometheus Remote Write 2.0

    To use The experimental -distributor.enable-start-timestamp flag must be enabled, and requests must use Prometheus Remote Write 2.0.

    - **More new options**: Per-tenant active series trackers that match on labels, including regexes (`active_series_trackers`, experimental). A goroutine worker pool for distributor queries to ingesters (`-distributor.num-query-workers`, experimental). A store-gateway limit on concurrently processed data bytes (`-blocks-storage.bucket-store.max-concurrent-data-bytes`, experimental). Start timestamp ingestion for Prometheus Remote Write 2.0 (`-distributor.enable-start-timestamp`, experimental). A memberlist cluster label (`-memberlist.cluster-label`) that stops accidental cross-cluster gossip joins.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Memberlist cluster-label validation and rollout controls

    To use Configure -memberlist.cluster-label to enable the cluster label. -memberlist.cluster-label-verification-disabled is also available to support a rolling label rollout.

    - **More new options**: Per-tenant active series trackers that match on labels, including regexes (`active_series_trackers`, experimental). A goroutine worker pool for distributor queries to ingesters (`-distributor.num-query-workers`, experimental). A store-gateway limit on concurrently processed data bytes (`-blocks-storage.bucket-store.max-concurrent-data-bytes`, experimental). Start timestamp ingestion for Prometheus Remote Write 2.0 (`-distributor.enable-start-timestamp`, experimental). A memberlist cluster label (`-memberlist.cluster-label`) that stops accidental cross-cluster gossip joins.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Experimental worker pool for Distributor query fan-out
    * [FEATURE] Distributor: Add experimental `-distributor.num-query-workers` flag to use a goroutine worker pool for query fan-out calls to ingesters. Reuses pre-grown goroutine stacks to eliminate the `runtime.copystack` overhead (~8% CPU) observed on rulers with wide ingester fan-out. Falls back to spawning a new goroutine when no worker is available. #7623
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Experimental Ingester active-series tracking

    To use active_series_trackers configured in runtime config overrides

    * [FEATURE] Ingester: Add experimental active series tracker that counts active series by configurable label matchers (including regex) per tenant and exposes `cortex_ingester_active_series_per_tracker` metric. Configured via `active_series_trackers` in runtime config overrides. #7476
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester head-only queried-series metric

    To use -ingester.head-queried-series-metrics-enabled (default: false)

    * [FEATURE] Ingester: Add experimental head-only queried series metric. `cortex_ingester_queried_head_series` tracks unique series queried from head via HLL. Enabled via `-ingester.head-queried-series-metrics-enabled`. #7500
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Per-tenant alert generator URL templates in Ruler

    To use Set the per-tenant ruler_alert_generator_url_template runtime config option

    * [FEATURE] Ruler: Add per-tenant `ruler_alert_generator_url_template` runtime config option to customize alert generator URLs using Go templates. Includes a `jsonEscape` template function for safely embedding expressions in JSON-encoded URL parameters (e.g., Grafana Explore panes). Supports Grafana Explore, Perses, and other UIs. #7302 #7458
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Distributor ingestion of Remote Write 2.0 start timestamps

    To use -distributor.enable-start-timestamp

    * [FEATURE] Distributor: Add experimental `-distributor.enable-start-timestamp` flag for Prometheus Remote Write 2.0. When enabled, `StartTimestamp (ST)` is ingested. #7371
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Memberlist cluster labels prevent accidental cross-cluster joins

    To use Configure -memberlist.cluster-label; disable verification with -memberlist.cluster-label-verification-disabled during a live label rollout.

    * [FEATURE] Memberlist: Add `-memberlist.cluster-label` and `-memberlist.cluster-label-verification-disabled` to prevent accidental cross-cluster gossip joins and support rolling label rollout. #7385
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier classifies evaluation-heavy timeouts as user errors

    To use Set querier.timeout-classification-enabled to true

    * [FEATURE] Querier: Add timeout classification to classify query timeouts as 4XX (user error) or 5XX (system error) based on phase timing. When enabled, queries that spend most of their time in PromQL evaluation return `422 Unprocessable Entity` instead of `503 Service Unavailable`. #7374
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier resource-based query eviction

    To use Set either -querier.query-protection.eviction.threshold.cpu-utilization or -querier.query-protection.eviction.threshold.heap-utilization above 0

    * [FEATURE] Querier: Add resource-based query eviction that automatically cancels the heaviest running query when CPU or heap utilization exceeds configured thresholds. #7488
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • OCI Object Storage support for blocks, ruler, and alertmanager

    To use backend: oci with the corresponding -<prefix>.oci.* flags configured

    * [FEATURE] Storage: Add support for Oracle Cloud Infrastructure (OCI) Object Storage as a backend for blocks, ruler, and alertmanager storage. Configured via `-<prefix>.oci.*` flags with `backend: oci`. #7718
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Experimental concurrent data-byte limit for Store gateway Series() requests
    * [FEATURE] StoreGateway: Add experimental optional limit `blocks-storage.bucket-store.max-concurrent-data-bytes` on the data bytes (postings, series and chunks) fetched via the Series() API call and processed concurrently across all queries per store gateway to protect from oomkill. This returns an error that is retryable at querier level. #7271
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Configurable selector series batching in querier and ruler

    To use Set -querier.selector-batch-size or -ruler.selector-batch-size to a positive value; the default of 0 disables batching.

    * [FEATURE] Engine: Add `-querier.selector-batch-size` and `-ruler.selector-batch-size` flags to configure series batching in the Thanos promQL engine. 0 disables batching. #7763
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Configurable label-name limit for Parquet block conversion
    * [ENHANCEMENT] Parquet Converter: Add `parquet-converter.max-block-label-names` limit to skip conversion of TSDB blocks with too many label names. #7625
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Parquet Converter ring-status endpoint added
    * [ENHANCEMENT] Parquet Converter: Add a ring status page to expose the ring status. #7455
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Configurable concurrency for store-gateway parquet queries

    To use -blocks-storage.bucket-store.parquet-query-concurrency (YAML field: parquet_query_concurrency)

    * [ENHANCEMENT] Parquet: Add `-blocks-storage.bucket-store.parquet-query-concurrency` flag to configure the maximum number of concurrent goroutines applied at each level of parquet query processing in store-gateway: shard querying, row group processing, and column materialization. #7613
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Configurable cache for Parquet query row ranges

    To use Configure -blocks-storage.bucket-store.parquet-row-ranges-cache.backend with memcached, redis, or inmemory; a comma-separated list of those values configures the multi-level cache. The default is empty, which disables the cache.

    * [ENHANCEMENT] Parquet: Add a row ranges cache for parquet query filtering in querier and store-gateway. #7478
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Per-tenant cortex_ingester_ingestion_delay_seconds metric added
    * [ENHANCEMENT] Ingester: Add `cortex_ingester_ingestion_delay_seconds` native histogram metric to track the delay between sample ingestion time and sample timestamp. #7443
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Additional Ingester TSDB WAL record metrics
    * [ENHANCEMENT] Ingester: Add WAL record metrics to help evaluate the effectiveness of WAL compression type (e.g. snappy, zstd): `cortex_ingester_tsdb_wal_record_part_writes_total`, `cortex_ingester_tsdb_wal_record_parts_bytes_written_total`, and `cortex_ingester_tsdb_wal_record_bytes_saved_total`. #7420
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Native histogram aggregation and merging in the Metrics Helper

    To use nativeHistogramMetric

    * [ENHANCEMENT] Metrics Helper: Add native histogram support for aggregating and merging, including dual-format histogram handling that exposes both native and classic bucket formats. #7359
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Per-tenant query-result cache TTLs
    * [ENHANCEMENT] Cache: Add per-tenant TTL configuration for query results cache to control cache expiration on a per-tenant basis with separate TTLs for regular and out-of-order data. `-frontend.out-of-order-results-cache-ttl` falls back to `-frontend.results-cache-ttl` when unset, and then to the global cache backend TTL. #7357 #7775
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Query Scheduler exposes its cortex_query_scheduler_tracked_requests metric
    * [ENHANCEMENT] Query Scheduler: Add `cortex_query_scheduler_tracked_requests` metric to track the current number of requests held by the scheduler. #7355
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Query Frontend adds an expensive-query rejection reason and query-stat reason field
    * [ENHANCEMENT] Query Frontend: Add `query_too_expensive` reason to QFE and `reason` field to query stats. #7479
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester read API CPU profiles gain a source label
    * [ENHANCEMENT] Instrument Ingester CPU profile with source for read APIs. #7494
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • cortex_distributor_received_histogram_buckets metric for native histograms
    * [ENHANCEMENT] Distributor: Added `cortex_distributor_received_histogram_buckets` metric to track number of buckets in received native histogram samples before validation, per user. #7569
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Optional lazy regex evaluation in the Ingester head postings cache

    To use The feature is disabled by default; its flags are -blocks-storage.expanded_postings_cache.head.lazy-matcher-max-cardinality, -blocks-storage.expanded_postings_cache.head.lazy-matcher-simple-cost-ratio, and -blocks-storage.expanded_postings_cache.head.lazy-matcher-complex-cost-ratio.

    * [ENHANCEMENT] Ingester: Add lazy regex evaluation on head postings cache miss. Defers expensive regex matchers on high-cardinality labels to per-series filtering when a selective equality matcher already narrows the result set. Configured via `-blocks-storage.expanded_postings_cache.head.lazy-matcher-max-cardinality` (disabled by default). #7553
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • ring_duplicate_tokens gauge added to Ring metrics
    * [ENHANCEMENT] Ring: Add ring metric to count number of duplicate tokens. #7626
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Native histogram support for remaining Cortex production histograms
    * [ENHANCEMENT] Metrics: Add native histogram support to all remaining production histograms, enabling dual-format (classic + native) exposition across all Cortex components. #7636
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester adds a per-user TSDB head timestamp metric
    * [ENHANCEMENT] Ingester: Add `cortex_ingester_tsdb_head_max_timestamp` metric that re-exports the TSDB head max timestamp (`prometheus_tsdb_head_max_time`) per user, to help investigate ingestion issues like out-of-bounds (too old sample) errors. #7694
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester adds a TSDB-head unique metric-name gauge

    To use -ingester.active-series-metrics-enabled must be true for the gauge to be registered.

    * [ENHANCEMENT] Ingester: Add `cortex_ingester_head_metric_names` gauge exposing the number of unique metric names in the TSDB head per tenant. Registered when `-ingester.active-series-metrics-enabled` is true. #7514
    github.com/cortexproject/cortex/releases/tag/v1.22.0

Dependency updates9

8 more, none mentioning security
  • - **Dependency and runtime updates**: Go 1.27.3, Prometheus v3.9.1, Alertmanager v0.33.0, gRPC v1.79.3, and distroless base images for the container images.
  • - **Dependency and runtime updates**: Go 1.27.3, Prometheus v3.9.1, Alertmanager v0.33.0, gRPC v1.79.3, and distroless base images for the container images.
  • * [ENHANCEMENT] Upgrade prometheus alertmanager version to v0.32.1. #7462
  • * [ENHANCEMENT] Update build image and Go version to 1.26. #7434 #7437 #7716 #7726
  • * [ENHANCEMENT] Upgrade prometheus version to v3.9.1. #7535
  • * [ENHANCEMENT] Update prometheus alertmanager version to v0.33.0. #7647
  • * [ENHANCEMENT] Upgrade Thanos and promql-engine to latest. #7505 #7691 #7740 #7788
  • * [ENHANCEMENT] Update build image and Go version to 1.27.0. #7807 #7814
Other changes28
  • Native histogram ingestion no longer experimental
    - **Native histograms leave experimental status**: Ingestion with `-blocks-storage.tsdb.enable-native-histograms` is no longer experimental. All remaining production histograms now expose native and classic formats.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Cortex container images switch to gcr.io/distroless/static-debian12
    - **Dependency and runtime updates**: Go 1.27.3, Prometheus v3.9.1, Alertmanager v0.33.0, gRPC v1.79.3, and distroless base images for the container images.
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Native histogram ingestion no longer experimental
    * [CHANGE] Ingester: Graduate native histogram ingestion (`-blocks-storage.tsdb.enable-native-histograms`) from experimental. #7789
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Bucket-index cache disabled when TTL is 0
    * [CHANGE] Cache: Setting `-blocks-storage.bucket-store.metadata-cache.bucket-index-content-ttl` to 0 will disable the bucket-index cache. #7446
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • -parquet-converter.max-num-columns flag added to Parquet Converter
    * [FEATURE] Parquet Converter: Add experimental `-parquet-converter.max-num-columns` flag to automatically shard parquet files when the number of columns exceeds the configured limit. This prevents failures when a TSDB block has more unique label names than the parquet library's column limit (32767). #7624
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Tenant Federation regex resolver cache retained across user-sync ticks
    * [ENHANCEMENT] Tenant Federation: Avoid purging the regex resolver LRU cache on user-sync ticks when the set of known users has not changed. #7489
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Adaptive capacity pooling for Distributor Symbols slices
    * [ENHANCEMENT] Distributor: Introduce dynamic `Symbols` slice capacity pooling. #7398 #7401
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Partition compaction excludes blocks marked for deletion
    * [ENHANCEMENT] Compactor: Prevent partition compaction to compact any blocks marked for deletion. #7391
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Distributor slice-capacity reuse for Prometheus Remote Write 2.0
    * [ENHANCEMENT] Distributor: Optimize memory allocations by reusing the existing capacity of these pooled slices in the Prometheus Remote Write 2.0 path. #7392
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester expanded postings cache switches to LRU eviction
    * [ENHANCEMENT] Ingester: Convert expanded postings cache from FIFO to LRU eviction to retain frequently-queried entries under memory pressure. #7510
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier streaming detaches series data from gRPC buffers
    * [ENHANCEMENT] Querier: Detach series label and chunk data from gRPC unmarshal buffers in store-gateway streaming path, allowing the Go GC to reclaim receive buffers. #7519
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Store Gateway resolves Parquet shard counts from the bucket index
    * [ENHANCEMENT] Store Gateway: Resolve the parquet shard count from the bucket index instead of reading the converter mark for each block, reducing object storage calls when the bucket index is enabled. A `component` label is added to the bucket index loader metrics to distinguish store-queryable and store-gateway. #7648
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Bucket index loader metrics gain a component label
    * [ENHANCEMENT] Store Gateway: Resolve the parquet shard count from the bucket index instead of reading the converter mark for each block, reducing object storage calls when the bucket index is enabled. A `component` label is added to the bucket index loader metrics to distinguish store-queryable and store-gateway. #7648
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Query Frontend slow-query logs include more request and query statistics
    * [ENHANCEMENT] Query Frontend: Improve the slow query log with `source`, `user_agent`, `engine_type`, `block_store_type`, and query stats fields to aid slow query diagnosis. #7601
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Caching for ShuffleShardWithLookback subrings
    * [ENHANCEMENT] Ring: Cache `ShuffleShardWithLookback` subrings. The cached entry is invalidated on topology change or once `now` reaches the earliest `RegisteredTimestamp + lookbackPeriod` of any included instance. #7628
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ingester sample rejection errors include the TSDB head's maximum time
    * [ENHANCEMENT] Ingester: Include the TSDB head max time in the `out of bounds` and `too old sample` error messages, so that users can see how far behind the accepted time range a rejected sample is. #7695
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Compactor skips valid-version parquet marker rereads
    * [ENHANCEMENT] Compactor: Reduce object storage GET calls when updating the bucket index by skipping re-reading parquet converter markers for blocks that already have a valid-version parquet entry in the previous index. #7669
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Ruler query error messages made consistent
    * [ENHANCEMENT] Ruler: Adjust ruler frontend decoder to not wrap query error messages with execution prefix, this makes error responses consistent between internal and external ruler paths. #7741
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier response codec switches histogram buckets to value slices
    * [ENHANCEMENT] Querier: Use non-pointer HistogramBucket slice in response codec. #7809
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Querier merge iterator BatchSize reduced to 8
    * [ENHANCEMENT] Querier: Reduce merge iterator `BatchSize` from 12 to 8. #7823
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Packaging Dockerfile build fixed for Alpine 3.23
    * [BUGFIX] Packaging: Fix RPM and deb packages to install the binary to `/usr/bin`, install the systemd unit to the correct system path (`/usr/lib/systemd/system` for RPM, `/lib/systemd/system` for deb), and mark the sysconfig/default env file as a config file so it is not overwritten on upgrade. #7445
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Compactor tests poll for user ownership
    * [BUGFIX] Compactor: Fix flake in `TestCompactor_DeleteLocalSyncFiles` and `TestPartitionCompactor_DeleteLocalSyncFiles` by polling on user ownership rather than just the `CompactionRunsCompleted` counter, which increments even when the second compactor sees zero owned users due to a transient ring-view skew at startup. #7565
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Compactor blocks cleaner waits for visit-marker heartbeat to finish
    * [BUGFIX] Compactor: Ensure visit marker heartbeat goroutine completes before blocks cleaner returns. #7386
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Flaky store-gateway integration test condition fixed
    * [BUGFIX] Querier: Fix flake in integration tests TestQuerierWithStoreGatewayDataBytesLimits and TestQuerierWithBlocksStorageLimits by waiting for the querier to see the store-gateway ACTIVE in the ring before querying. #7614
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Store Gateway cache validation message corrected
    * [BUGFIX] Store Gateway: Fix misleading "no index cache backend addresses" validation error being reported for chunks-cache, metadata-cache, and parquet caches when their memcached or redis backend is configured without addresses. The message is now the cache-type-agnostic "no cache backend addresses". #7675
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Compactor partial block cleanup avoids spurious retries and error logs
    * [BUGFIX] Compactor: Fix spurious `bucket operation fail after retries` error logs emitted during partial block cleanup. #7749
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Parquet Converter automatic ring removal enabled
    * [BUGFIX] Parquet Converter: Fix `auto_forget_delay` having no effect. The ring lifecycler was created without the auto-forget delegate, so unhealthy instances were never automatically removed from the ring. #7752
    github.com/cortexproject/cortex/releases/tag/v1.22.0
  • Parquet Converter errors identify the correct ring
    * [BUGFIX] Parquet Converter: Fix misleading error messages referring to the compactor ring instead of the parquet converter ring during startup and sharding checks. #7755
    github.com/cortexproject/cortex/releases/tag/v1.22.0

Summaries are produced by AI, so they can be wrong, and they are provided without warranty.