Skip to content

Commit fe97558

Browse files
authored
Prepare Release 1.2 (#2769)
* Prepare Release 1.2 Signed-off-by: Bryan Boreham <[email protected]> * Add CHANGELOG.md entry for PR 2571 (#2773) Signed-off-by: Peter Štibraný <[email protected]>
1 parent 3df7a37 commit fe97558

11 files changed

+25
-20
lines changed

CHANGELOG.md

+14-9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## master / unreleased
44

5+
## 1.2.0 / 2020-06-xx
6+
57
* [CHANGE] Metric `cortex_kv_request_duration_seconds` now includes `name` label to denote which client is being used as well as the `backend` label to denote the KV backend implementation in use. #2648
68
* [CHANGE] Experimental Ruler: Rule groups persisted to object storage using the experimental API have an updated object key encoding to better handle special characters. Rule groups previously-stored using object storage must be renamed to the new format. #2646
79
* [CHANGE] Query Frontend now uses Round Robin to choose a tenant queue to service next. #2553
@@ -52,11 +54,13 @@
5254
* [CHANGE] Memberlist KV client is no longer considered experimental. #2725
5355
* [CHANGE] Change target flag for purger from `data-purger` to `purger` and make delete request cancellation duration configurable. #2760
5456
* [CHANGE] Removed `-store.fullsize-chunks` option which was undocumented and unused (it broke ingester hand-overs). #2656
57+
* [CHANGE] Query with no metric name that has previously resulted in HTTP status code 500 now returns status code 422 instead. #2571
5558
* [FEATURE] TLS config options added for GRPC clients in Querier (Query-frontend client & Ingester client), Ruler, Store Gateway, as well as HTTP client in Config store client. #2502
5659
* [FEATURE] The flag `-frontend.max-cache-freshness` is now supported within the limits overrides, to specify per-tenant max cache freshness values. The corresponding YAML config parameter has been changed from `results_cache.max_freshness` to `limits_config.max_cache_freshness`. The legacy YAML config parameter (`results_cache.max_freshness`) will continue to be supported till Cortex release `v1.4.0`. #2609
5760
* [FEATURE] Experimental gRPC Store: Added support to 3rd parties index and chunk stores using gRPC client/server plugin mechanism. #2220
5861
* [ENHANCEMENT] Propagate GOPROXY value when building `build-image`. This is to help the builders building the code in a Network where default Go proxy is not accessible (e.g. when behind some corporate VPN). #2741
5962
* [ENHANCEMENT] Querier: Added metric `cortex_querier_request_duration_seconds` for all requests to the querier. #2708
63+
* [ENHANCEMENT] Cortex is now built with Go 1.14. #2480 #2749 #2753
6064
* [ENHANCEMENT] Experimental TSDB: added the following metrics to the ingester: #2580 #2583 #2589 #2654
6165
* `cortex_ingester_tsdb_appender_add_duration_seconds`
6266
* `cortex_ingester_tsdb_appender_commit_duration_seconds`
@@ -91,8 +95,7 @@
9195
* [ENHANCEMENT] Query-tee: added support to `/metadata`, `/alerts`, and `/rules` endpoints #2600
9296
* [ENHANCEMENT] Query-tee: added support to query results comparison between two different backends. The comparison is disabled by default and can be enabled via `-proxy.compare-responses=true`. #2611
9397
* [ENHANCEMENT] Query-tee: improved the query-tee to not wait all backend responses before sending back the response to the client. The query-tee now sends back to the client first successful response, while honoring the `-backend.preferred` option. #2702
94-
* [ENHANCEMENT] Thanos and Prometheus upgraded. #2604 #2634 #2686
95-
* TSDB now supports isolation of append and queries.
98+
* [ENHANCEMENT] Thanos and Prometheus upgraded. #2602 #2604 #2634 #2659 #2686 #2756
9699
* TSDB now holds less WAL files after Head Truncation.
97100
* TSDB now does memory-mapping of Head chunks and reduces memory usage.
98101
* [ENHANCEMENT] Experimental TSDB: decoupled blocks deletion from blocks compaction in the compactor, so that blocks deletion is not blocked by a busy compactor. The following metrics have been added: #2623
@@ -111,13 +114,14 @@
111114
* `/compactor/ring`
112115
* `/ruler/ring`
113116
* `/services`
114-
* [ENHANCEMENT] Add `-cassandra.num-connections` to allow increasing the number of TCP connections to each Cassandra server. #2666
115-
* [ENHANCEMENT] Use separate Cassandra clients and connections for reads and writes. #2666
116-
* [ENHANCEMENT] Add `-cassandra.reconnect-interval` to allow specifying the reconnect interval to a Cassandra server that has been marked `DOWN` by the gocql driver. Also change the default value of the reconnect interval from `60s` to `1s`. #2687
117+
* [ENHANCEMENT] Experimental Cassandra backend: Add `-cassandra.num-connections` to allow increasing the number of TCP connections to each Cassandra server. #2666
118+
* [ENHANCEMENT] Experimental Cassandra backend: Use separate Cassandra clients and connections for reads and writes. #2666
119+
* [ENHANCEMENT] Experimental Cassandra backend: Add `-cassandra.reconnect-interval` to allow specifying the reconnect interval to a Cassandra server that has been marked `DOWN` by the gocql driver. Also change the default value of the reconnect interval from `60s` to `1s`. #2687
120+
* [ENHANCEMENT] Experimental Cassandra backend: Add option `-cassandra.convict-hosts-on-failure=false` to not convict host of being down when a request fails. #2684
117121
* [ENHANCEMENT] Experimental TSDB: Applied a jitter to the period bucket scans in order to better distribute bucket operations over the time and increase the probability of hitting the shared cache (if configured). #2693
118122
* [ENHANCEMENT] Experimental TSDB: Series limit per user and per metric now work in TSDB blocks. #2676
119123
* [ENHANCEMENT] Experimental Memberlist: Added ability to periodically rejoin the memberlist cluster. #2724
120-
* [ENHANCEMENT] Experimental Delete Series: Added the following metrics for monitoring processing of delete requests: #2445
124+
* [ENHANCEMENT] Experimental Delete Series: Added the following metrics for monitoring processing of delete requests: #2730
121125
- `cortex_purger_load_pending_requests_attempts_total`: Number of attempts that were made to load pending requests with status.
122126
- `cortex_purger_oldest_pending_delete_request_age_seconds`: Age of oldest pending delete request in seconds.
123127
- `cortex_purger_pending_delete_requests_count`: Count of requests which are in process or are ready to be processed.
@@ -126,20 +130,21 @@
126130
* `cortex_querier_blocks_consistency_checks_total`
127131
* `cortex_querier_blocks_consistency_checks_failed_total`
128132
* `cortex_querier_storegateway_refetches_per_query`
129-
* [ENHANCEMENT] Cortex is now built with Go 1.14. #2480 #2753
133+
* [ENHANCEMENT] Delete requests can now be canceled #2555
134+
* [ENHANCEMENT] Table manager can now provision tables for delete store #2546
130135
* [BUGFIX] Ruler: Ensure temporary rule files with special characters are properly mapped and cleaned up. #2506
131136
* [BUGFIX] Fixes #2411, Ensure requests are properly routed to the prometheus api embedded in the query if `-server.path-prefix` is set. #2372
132137
* [BUGFIX] Experimental TSDB: fixed chunk data corruption when querying back series using the experimental blocks storage. #2400
133138
* [BUGFIX] Fixed collection of tracing spans from Thanos components used internally. #2655
134139
* [BUGFIX] Experimental TSDB: fixed memory leak in ingesters. #2586
135140
* [BUGFIX] QueryFrontend: fixed a situation where HTTP error is ignored and an incorrect status code is set. #2590
136141
* [BUGFIX] Ingester: Fix an ingester starting up in the JOINING state and staying there forever. #2565
137-
* [BUGFIX] QueryFrontend: fixed a panic (`integer divide by zero`) in the query-frontend. The query-frontend now requires the `-querier.default-evaluation-interval` config to be set to the same value of the querier. #2603
142+
* [BUGFIX] QueryFrontend: fixed a panic (`integer divide by zero`) in the query-frontend. The query-frontend now requires the `-querier.default-evaluation-interval` config to be set to the same value of the querier. #2614
138143
* [BUGFIX] Experimental TSDB: when the querier receives a `/series` request with a time range older than the data stored in the ingester, it now ignores the requested time range and returns known series anyway instead of returning an empty response. This aligns the behaviour with the chunks storage. #2617
139144
* [BUGFIX] Cassandra: fixed an edge case leading to an invalid CQL query when querying the index on a Cassandra store. #2639
140145
* [BUGFIX] Ingester: increment series per metric when recovering from WAL or transfer. #2674
141146
* [BUGFIX] Fixed `wrong number of arguments for 'mget' command` Redis error when a query has no chunks to lookup from storage. #2700
142-
* [BUGFIX] Ingester: Automatically remove old tmp checkpoints, fixing a potential disk space leak after an ingester crashes.
147+
* [BUGFIX] Ingester: Automatically remove old tmp checkpoints, fixing a potential disk space leak after an ingester crashes. #2726
143148

144149
## 1.1.0 / 2020-05-21
145150

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0
1+
1.2.0-rc.0

docs/production/storage-cassandra.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,12 @@ storage:
109109
```
110110

111111
The latest tag is not published for the Cortex docker image. Visit quay.io/repository/cortexproject/cortex
112-
to find the latest stable version tag and use it in the command bellow (currently it is `v1.1.0`).
112+
to find the latest stable version tag and use it in the command below (currently it is `v1.2.0`).
113113

114114
Run Cortex using the latest stable version:
115115

116116
```
117-
docker run -d --name=cortex -v $(pwd)/single-process-config.yaml:/etc/single-process-config.yaml -p 9009:9009 quay.io/cortexproject/cortex:v1.1.0 -config.file=/etc/single-process-config.yaml
117+
docker run -d --name=cortex -v $(pwd)/single-process-config.yaml:/etc/single-process-config.yaml -p 9009:9009 quay.io/cortexproject/cortex:v1.2.0 -config.file=/etc/single-process-config.yaml
118118
```
119119
In case you prefer to run the master version, please follow this [documentation](../getting-started/getting-started-chunks.md) on how to build Cortex from source.
120120

k8s/alertmanager-dep.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: alertmanager
18-
image: quay.io/cortexproject/cortex:v1.1.0
18+
image: quay.io/cortexproject/cortex:v1.2.0
1919
imagePullPolicy: IfNotPresent
2020
args:
2121
- -target=alertmanager

k8s/configs-dep.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: configs
18-
image: quay.io/cortexproject/cortex:v1.1.0
18+
image: quay.io/cortexproject/cortex:v1.2.0
1919
imagePullPolicy: IfNotPresent
2020
args:
2121
- -target=configs

k8s/distributor-dep.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: distributor
18-
image: quay.io/cortexproject/cortex:v1.1.0
18+
image: quay.io/cortexproject/cortex:v1.2.0
1919
imagePullPolicy: IfNotPresent
2020
args:
2121
- -target=distributor

k8s/ingester-dep.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ spec:
3737

3838
containers:
3939
- name: ingester
40-
image: quay.io/cortexproject/cortex:v1.1.0
40+
image: quay.io/cortexproject/cortex:v1.2.0
4141
imagePullPolicy: IfNotPresent
4242
args:
4343
- -target=ingester

k8s/querier-dep.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: querier
18-
image: quay.io/cortexproject/cortex:v1.1.0
18+
image: quay.io/cortexproject/cortex:v1.2.0
1919
imagePullPolicy: IfNotPresent
2020
args:
2121
- -target=querier

k8s/query-frontend-dep.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: query-frontend
18-
image: quay.io/cortexproject/cortex:v1.1.0
18+
image: quay.io/cortexproject/cortex:v1.2.0
1919
imagePullPolicy: IfNotPresent
2020
args:
2121
- -target=query-frontend

k8s/ruler-dep.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: ruler
18-
image: quay.io/cortexproject/cortex:v1.1.0
18+
image: quay.io/cortexproject/cortex:v1.2.0
1919
imagePullPolicy: IfNotPresent
2020
args:
2121
- -target=ruler

k8s/table-manager-dep.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
containers:
1717
- name: table-manager
18-
image: quay.io/cortexproject/cortex:v1.1.0
18+
image: quay.io/cortexproject/cortex:v1.2.0
1919
imagePullPolicy: IfNotPresent
2020
args:
2121
- -target=table-manager

0 commit comments

Comments
 (0)