|
2 | 2 |
|
3 | 3 | ## master / unreleased |
4 | 4 |
|
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. |
6 | 10 |
|
7 | 11 | * [CHANGE] Flags changed with transition to upstream Prometheus rules manager: |
8 | 12 | * `ruler.client-timeout` is now `ruler.configs.client-timeout` in order to match `ruler.configs.url` |
|
23 | 27 | * [FEATURE] EXPERIMENTAL: Added `/series` API endpoint support with TSDB blocks storage. #1830 |
24 | 28 | * [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 |
25 | 29 | * [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 |
27 | 30 | * [BUGFIX] Fixed unnecessary CAS operations done by the HA tracker when the jitter is enabled. #1861 |
28 | 31 | * [BUGFIX] Fixed #1904 ingesters getting stuck in a LEAVING state after coming up from an ungraceful exit. #1921 |
29 | 32 | * [BUGFIX] Reduce memory usage when ingester Push() errors. #1922 |
|
32 | 35 | * [BUGFIX] TSDB: Fixed error handling in the series to chunks conversion with the experimental TSDB blocks storage. #1837 |
33 | 36 | * [BUGFIX] TSDB: Fixed TSDB creation conflict with blocks transfer in a `JOINING` ingester with the experimental TSDB blocks storage. #1818 |
34 | 37 |
|
| 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 | + |
35 | 49 | ## 0.4.0 / 2019-12-02 |
36 | 50 |
|
37 | 51 | * [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