From d372cc92c248743ed839572a346958ee5b367caa Mon Sep 17 00:00:00 2001 From: Alvar Penning Date: Tue, 9 Apr 2024 16:55:05 +0200 Subject: [PATCH] CHANGELOG.md, internal/version.go: Bump to v1.1.2 --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ internal/version.go | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c0c8aea41..3767a2fa9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,41 @@ # Icinga DB Changelog +## 1.1.2 (2024-04-11) + +This release addresses multiple issues related to fault recoveries, +with a particular focus on retryable database errors that may occur when using Icinga DB with database clusters. + +Since there may be a large number of errors that are resolved by retrying after a certain amount of time, +#698 changed the retry behavior to retry every database-related error for five minutes. +This helps Icinga DB survive network hiccups or more complicated database situations, +such as working with a database cluster. + +The latter was specifically addressed in #711 for Galera clusters on MySQL or MariaDB by configuring `wsrep_sync_wait' on used database sessions. +Setting it to "7", as Icinga DB now does by default, will cause causality checks to be performed before any query is executed, otherwise there may be races between database nodes. +More details and configuration options can be found in `doc/03-Configuration.md`. + +* Render large numbers as-is, not using scientific notation for custa for custom variables. #657 +* Enhance HA "Taking over", "Handing over" logging. #692 +* Retry broken pipe errors (`EPIPE`). #693 +* Retry every database error. #698 +* MySQL/MariaDB: Use strict SQL mode. #699 +* Try setting `wsrep_sync_wait` for MySQL/MariaDB connections. #711 +* history.Sync: Don't operate on closed channel. #725 +* Update dependencies. [27 times](https://github.com/Icinga/icingadb/pulls?q=is%3Apr+is%3Amerged+label%3Adependencies+milestone%3A1.1.2) + +### Schema + +In addition to mandatory schema upgrades, this release includes an optional upgrade that can be applied subsequently. +Details are available in `doc/04-Upgrading.md` and #656. + +With #656, the problem of hosts and services reaching the 256th check attempt was fixed by increasing the size of the variable. +This requires a rewrite of the `state_history` table, which is the optional upgrade mentioned above. + +* Unify check attempt data type to `uint32`. #656 +* Composite `INDEX` for the history table to fasten history view in Icinga DB Web. #686 +* MySQL/MariaDB: Fix `icingadb_schema.timestamp` not being Unix time. #700 +* PostgreSQL: `get_sla_ok_percent` to return decimals in SLA overview. #710 + ## 1.1.1 (2023-08-09) This release fixes a few crashes in the Icinga DB daemon, addresses some shortcomings in the database schema, diff --git a/internal/version.go b/internal/version.go index a4bfdf9da..b5038fe02 100644 --- a/internal/version.go +++ b/internal/version.go @@ -7,4 +7,4 @@ import ( // Version contains version and Git commit information. // // The placeholders are replaced on `git archive` using the `export-subst` attribute. -var Version = version.Version("1.1.1", "$Format:%(describe)$", "$Format:%H$") +var Version = version.Version("1.1.2", "$Format:%(describe)$", "$Format:%H$")