Skip to content

Commit

Permalink
CHANGELOG.md, internal/version.go: Bump to v1.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
oxzi committed Apr 10, 2024
1 parent 3b61e06 commit d372cc9
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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$")

0 comments on commit d372cc9

Please sign in to comment.