Skip to content

Commit ce983fd

Browse files
committed
Call out breaking changes better.
Signed-off-by: Goutham Veeramachaneni <[email protected]>
1 parent 306bfe6 commit ce983fd

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
## master / unreleased
44

5-
## 0.5.0-rc.0 / 2020-01-08
5+
## 0.5.0 / 2020-01-15
6+
7+
Note that the ruler flags need to be changed in this upgrade. You're moving from a single node ruler to something that can be sharded.
8+
Further, if you're using the configs service, we've upgraded the migration library and this requires some manual intervention. See full
9+
instructions below to upgrade your Postgres.
610

711
* [CHANGE] Flags changed with transition to upstream Prometheus rules manager:
812
* `ruler.client-timeout` is now `ruler.configs.client-timeout` in order to match `ruler.configs.url`
@@ -23,7 +27,6 @@
2327
* [FEATURE] EXPERIMENTAL: Added `/series` API endpoint support with TSDB blocks storage. #1830
2428
* [FEATURE] Added "multi" KV store that can interact with two other KV stores, primary one for all reads and writes, and secondary one, which only receives writes. Primary/secondary store can be modified in runtime via runtime-config mechanism (previously "overrides"). #1749
2529
* [ENHANCEMENT] Added `password` and `enable_tls` options to redis cache configuration. Enables usage of Microsoft Azure Cache for Redis service.
26-
* [BUGFIX] Wrapped migration in BEGIN and COMMIT #1980
2730
* [BUGFIX] Fixed unnecessary CAS operations done by the HA tracker when the jitter is enabled. #1861
2831
* [BUGFIX] Fixed #1904 ingesters getting stuck in a LEAVING state after coming up from an ungraceful exit. #1921
2932
* [BUGFIX] Reduce memory usage when ingester Push() errors. #1922
@@ -32,6 +35,17 @@
3235
* [BUGFIX] TSDB: Fixed error handling in the series to chunks conversion with the experimental TSDB blocks storage. #1837
3336
* [BUGFIX] TSDB: Fixed TSDB creation conflict with blocks transfer in a `JOINING` ingester with the experimental TSDB blocks storage. #1818
3437

38+
### Upgrading Postgres
39+
40+
Reference: https://github.com/golang-migrate/migrate/tree/master/database/postgres#upgrading-from-v1
41+
42+
1. Install the migrate package cli tool: https://github.com/golang-migrate/migrate/tree/master/cmd/migrate#installation
43+
2. Run the migrate command:
44+
45+
```bash
46+
migrate -path <absolute_path_to_cortex>/cmd/cortex/migrations -database postgres://localhost:5432/database force 2
47+
```
48+
3549
## 0.4.0 / 2019-12-02
3650

3751
* [CHANGE] The frontend component has been refactored to be easier to re-use. When upgrading the frontend, cache entries will be discarded and re-created with the new protobuf schema. #1734

0 commit comments

Comments
 (0)