icinga2/lib
Michael Friedrich 149f640fd8 Improve DB IDO HA failover behaviour
- Decrease Object Authority updates to 10s (was 30s)
- Decrease failover timeout to 30s (was 60s)
- Decrease cold startup (after (re)start) with no OA updates to 30s (was 60s)
- Immediately connect on Resume()
- Fix query priority which got broken with #6970
- Add more logging when a failover is in progress

```
[2019-03-29 16:13:53 +0100] information/IdoMysqlConnection: Last update by endpoint 'master1' was 8.33246s ago (< failover timeout of 30s). Retrying.

[2019-03-29 16:14:23 +0100] information/IdoMysqlConnection: Last update by endpoint 'master1' was 38.3288s ago. Taking over 'ido-mysql' in HA zone 'master'.
```

- Add more logging for reconnect and disconnect handling
- Add 'last_failover' attribute to IDO*Connection objects

refs #6970
2019-04-01 08:50:00 +02:00
..
base Improve DB IDO HA failover behaviour 2019-04-01 08:50:00 +02:00
checker Merge pull request #6970 from Icinga/bugfix/perfdata-gaps 2019-02-26 15:38:15 +01:00
cli Merge pull request #6999 from Icinga/bugfix/compiler-warnings 2019-03-18 08:44:30 +01:00
compat Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
config Replace a few more copyright strings 2019-02-25 16:30:40 +01:00
db_ido Improve DB IDO HA failover behaviour 2019-04-01 08:50:00 +02:00
db_ido_mysql Improve DB IDO HA failover behaviour 2019-04-01 08:50:00 +02:00
db_ido_pgsql Improve DB IDO HA failover behaviour 2019-04-01 08:50:00 +02:00
icinga Merge pull request #6999 from Icinga/bugfix/compiler-warnings 2019-03-18 08:44:30 +01:00
livestatus Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
methods Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
mysql_shim Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
notification Merge pull request #6970 from Icinga/bugfix/perfdata-gaps 2019-02-26 15:38:15 +01:00
perfdata Disable feature HA by default (InfluxDB, Graphite, Gelf, Elasticsearch, OpenTSDB, Perfdata) 2019-03-27 15:29:47 +01:00
pgsql_shim Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
remote Improve DB IDO HA failover behaviour 2019-04-01 08:50:00 +02:00
CMakeLists.txt Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00