Skip to content

Commit 1fa2361

Browse files
authored
Merge pull request #871 from Icinga/release-1.2.1
Release Icinga DB Version 1.2.1
2 parents cff2ba3 + bd780e2 commit 1fa2361

File tree

8 files changed

+36
-3
lines changed

8 files changed

+36
-3
lines changed

.mailmap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Alexander A. Klimov <[email protected]> <[email protected]>
2+
23
34
45

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Eric Lippmann <[email protected]>
44
Feu Mourek <[email protected]>
55
Henrik Triem <[email protected]>
66
Johannes Meyer <[email protected]>
7+
Jonada Hoxha <[email protected]>
78
Julian Brost <[email protected]>
89
Michael Friedrich <[email protected]>
910
Noah Hilverling <[email protected]>

CHANGELOG.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,38 @@
11
# Icinga DB Changelog
22

3+
## 1.2.1 (2024-12-18)
4+
5+
This is a maintenance release that addresses HA issues and includes a number of other fixes.
6+
7+
Most prominent, crashes caused by an invalid HA state were investigated and fixed mainly by the following changes.
8+
9+
* Ensure that the crucial HA realization logic is always aborted when its timeout is reached. #800
10+
* Give up the HA leadership role if it seems another node is also active. #825
11+
* Reduce database deadlocks in the HA realization domain with exclusive locking. #830
12+
13+
Other notable changes include the following:
14+
15+
* ACL and database support for Redis®[\*](doc/TRADEMARKS.md#redis). #874, icinga-go-library#50, icinga-go-library#52
16+
* Alter the database schema to allow longer user input. #779, #792, #856
17+
* Mitigate some NULL values for icingadb-migrate. #767
18+
* Retry certain database errors for PostgreSQL. icinga-go-library#59
19+
* Retry Redis® timeout errors for `XREAD`. icinga-go-library#23
20+
* Additional tests were written. #771, #777, #803, #806, #807, #808
21+
* Parts of the code have been moved to our [icinga-go-library](https://github.com/Icinga/icinga-go-library) for use by our other Go daemons. #747
22+
* Update dependencies. [26 times](https://github.com/Icinga/icingadb/pulls?q=is%3Apr+milestone%3A1.2.1+label%3Adependencies)
23+
24+
### Schema
25+
26+
A schema upgrade is available that allows longer user input as listed above.
27+
Please follow the [upgrading documentation](doc/04-Upgrading.md#upgrading-to-icinga-db-v121).
28+
329
## 1.2.0 (2024-04-11)
430

531
This release addresses multiple issues related to fault recoveries,
632
with a particular focus on retryable database errors that may occur when using Icinga DB with database clusters.
733

834
Since there may be a large number of errors that are resolved by retrying after a certain amount of time,
9-
#698 changed the retry behavior to retry every database-related error for five minutes.
35+
\#698 changed the retry behavior to retry every database-related error for five minutes.
1036
This helps Icinga DB survive network hiccups or more complicated database situations,
1137
such as working with a database cluster.
1238

doc/04-Upgrading.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
Specific version upgrades are described below. Please note that version upgrades are incremental.
44
If you are upgrading across multiple versions, make sure to follow the steps for each of them.
55

6+
## Upgrading to Icinga DB v1.2.1
7+
8+
Please apply the `1.2.1.sql` upgrade script to your database. For package installations, you can find this file at
9+
`/usr/share/icingadb/schema/mysql/upgrades/` or `/usr/share/icingadb/schema/pgsql/upgrades/`, depending on your
10+
database vendor.
11+
612
## Upgrading to Icinga DB v1.2.0
713

814
Please apply the `1.2.0.sql` upgrade script to your database. For package installations, you can find this file at

internal/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ import (
77
// Version contains version and Git commit information.
88
//
99
// The placeholders are replaced on `git archive` using the `export-subst` attribute.
10-
var Version = version.Version("1.2.0", "$Format:%(describe)$", "$Format:%H$")
10+
var Version = version.Version("1.2.1", "$Format:%(describe)$", "$Format:%H$")
File renamed without changes.

schema/pgsql/schema.sql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,6 @@ CREATE TABLE checkcommand_argument (
855855
ALTER TABLE checkcommand_argument ALTER COLUMN id SET STORAGE PLAIN;
856856
ALTER TABLE checkcommand_argument ALTER COLUMN environment_id SET STORAGE PLAIN;
857857
ALTER TABLE checkcommand_argument ALTER COLUMN checkcommand_id SET STORAGE PLAIN;
858-
ALTER TABLE checkcommand_argument ALTER COLUMN argument_key SET STORAGE PLAIN;
859858
ALTER TABLE checkcommand_argument ALTER COLUMN properties_checksum SET STORAGE PLAIN;
860859

861860
COMMENT ON COLUMN checkcommand_argument.id IS 'sha1(environment.id + checkcommand_id + argument_key)';
File renamed without changes.

0 commit comments

Comments
 (0)