Skip to content

Commit f5366b8

Browse files
committed
Merge branch 'master' into merge-release-1.20-to-master
2 parents 4e56848 + f593e69 commit f5366b8

40 files changed

+2892
-317
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## master / unreleased
44

5+
* [FEATURE] StoreGateway: Introduces a new parquet mode. #7046
6+
* [ENHANCEMENT] Ingester: Add `enable_matcher_optimization` config to apply low selectivity matchers lazily. #7063
7+
* [ENHANCEMENT] Distributor: Add a label references validation for remote write v2 request. #7074
8+
* [ENHANCEMENT] Distributor: Add count, spans, and buckets validations for native histogram. #7072
9+
* [BUGFIX] Ring: Change DynamoDB KV to retry indefinitely for WatchKey. #7088
10+
511
## 1.20.0 2025-11-10
612

713
* [CHANGE] StoreGateway/Alertmanager: Add default 5s connection timeout on client. #6603

docs/blocks-storage/querier.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,6 +1729,10 @@ blocks_storage:
17291729
# CLI flag: -blocks-storage.bucket-store.block-discovery-strategy
17301730
[block_discovery_strategy: <string> | default = "concurrent"]
17311731

1732+
# Type of bucket store to use (tsdb or parquet).
1733+
# CLI flag: -blocks-storage.bucket-store.bucket-store-type
1734+
[bucket_store_type: <string> | default = "tsdb"]
1735+
17321736
# Max size - in bytes - of a chunks pool, used to reduce memory allocations.
17331737
# The pool is shared across all tenants. 0 to disable the limit.
17341738
# CLI flag: -blocks-storage.bucket-store.max-chunk-pool-bytes

docs/blocks-storage/store-gateway.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1815,6 +1815,10 @@ blocks_storage:
18151815
# CLI flag: -blocks-storage.bucket-store.block-discovery-strategy
18161816
[block_discovery_strategy: <string> | default = "concurrent"]
18171817

1818+
# Type of bucket store to use (tsdb or parquet).
1819+
# CLI flag: -blocks-storage.bucket-store.bucket-store-type
1820+
[bucket_store_type: <string> | default = "tsdb"]
1821+
18181822
# Max size - in bytes - of a chunks pool, used to reduce memory allocations.
18191823
# The pool is shared across all tenants. 0 to disable the limit.
18201824
# CLI flag: -blocks-storage.bucket-store.max-chunk-pool-bytes

docs/configuration/config-file-reference.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2401,6 +2401,10 @@ bucket_store:
24012401
# CLI flag: -blocks-storage.bucket-store.block-discovery-strategy
24022402
[block_discovery_strategy: <string> | default = "concurrent"]
24032403

2404+
# Type of bucket store to use (tsdb or parquet).
2405+
# CLI flag: -blocks-storage.bucket-store.bucket-store-type
2406+
[bucket_store_type: <string> | default = "tsdb"]
2407+
24042408
# Max size - in bytes - of a chunks pool, used to reduce memory allocations.
24052409
# The pool is shared across all tenants. 0 to disable the limit.
24062410
# CLI flag: -blocks-storage.bucket-store.max-chunk-pool-bytes
@@ -3738,6 +3742,12 @@ instance_limits:
37383742
# CLI flag: -ingester.skip-metadata-limits
37393743
[skip_metadata_limits: <boolean> | default = true]
37403744
3745+
# Enable optimization of label matchers when query chunks. When enabled,
3746+
# matchers with low selectivity such as =~.+ are applied lazily during series
3747+
# scanning instead of being used for postings matching.
3748+
# CLI flag: -ingester.enable-matcher-optimization
3749+
[enable_matcher_optimization: <boolean> | default = false]
3750+
37413751
query_protection:
37423752
rejection:
37433753
threshold:

docs/configuration/v1-guarantees.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ Cortex strives to be 100% API compatible with Prometheus (under `/prometheus/*`
2727
- Additional API around pushing metrics (under `/api/push`).
2828
- Additional API endpoints for management of Cortex itself, such as the ring. These APIs are not part of the any compatibility guarantees.
2929

30-
_For more information, please refer to the [limitations](../guides/limitations.md) doc._
31-
3230
## Experimental features
3331

3432
Cortex is an actively developed project and we want to encourage the introduction of new features and capability. As such, not everything in each release of Cortex is considered "production-ready". We don't provide any backwards compatibility guarantees on these and the config and flags might break.

docs/guides/authentication-and-authorisation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Note that the tenant ID that is used to write the series to the datastore
3737
should be the same as the one you use to query the data. If they don't match,
3838
you won't see any data. As of now, you can't see series from other tenants.
3939

40-
For more information regarding the tenant ID limits, refer to: [Tenant ID limitations](./limitations.md#tenant-id-naming)
40+
For more information regarding the tenant ID naming conventions, refer to: [Tenant ID naming conventions](tenantID-naming-conventions.md#tenant-id-naming)
4141

4242
### Cortex-Tenant
4343

docs/guides/glossary.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ A tenant (also called "user" or "org") is the owner of a set of series written t
8282
For more information, please refer to:
8383

8484
- [HTTP API authentication](../api/_index.md#authentication)
85-
- [Tenant ID limitations](./limitations.md#tenant-id-naming)
85+
- [Tenant ID naming conventions](tenantID-naming-conventions.md#tenant-id-naming)
8686

8787
### Time series
8888

docs/guides/parquet-mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Traditional TSDB format and Store Gateway architecture face significant challeng
1919

2020
### TSDB Format Limitations
2121
- **Random Read Intensive**: TSDB index relies heavily on random reads, where each read becomes a separate request to object storage
22-
- **Overfetching**: To reduce object storage requests, data that are close together are merged in a sigle request, leading to higher bandwidth usage and overfetching
22+
- **Overfetching**: To reduce object storage requests, data that are close together are merged in a single request, leading to higher bandwidth usage and overfetching
2323
- **High Cardinality Bottlenecks**: Index postings can become a major bottleneck for high cardinality data
2424

2525
### Store Gateway Operational Challenges

docs/guides/limitations.md renamed to docs/guides/tenantID-naming-conventions.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
---
2-
title: "Limitations"
3-
linkTitle: "Limitations"
2+
title: "Tenant ID Naming Conventions"
3+
linkTitle: "Tenant ID Naming Conventions"
44
weight: 998
5-
slug: limitations
5+
slug: Tenant ID Naming Conventions
66
---
77

88
## Tenant ID naming
99

10-
The tenant ID (also called "user ID" or "org ID") is the unique identifier of a tenant within a Cortex cluster. The tenant ID is opaque information to Cortex, which doesn't make any assumptions on its format/content, but its naming has two limitations:
10+
The tenant ID (also called "user ID" or "org ID") is the unique identifier of a tenant within a Cortex cluster. The tenant ID is opaque information to Cortex, which doesn't make any assumptions on its format/content, but its naming has three limitations:
1111

1212
1. Supported characters
13-
2. Length
13+
2. Invalid tenant IDs
14+
3. Length
1415

1516
### Supported characters
1617

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ require (
3535
github.com/lib/pq v1.10.9
3636
github.com/minio/minio-go/v7 v7.0.93
3737
github.com/mitchellh/go-wordwrap v1.0.1
38-
github.com/oklog/ulid v1.3.1 // indirect
38+
github.com/oklog/ulid v1.3.1
3939
github.com/opentracing-contrib/go-grpc v0.1.2
4040
github.com/opentracing-contrib/go-stdlib v1.1.0
4141
github.com/opentracing/opentracing-go v1.2.0

0 commit comments

Comments
 (0)