icinga2/lib/db_ido
Julian Brost 0503ca1379 Initialize namespaces without using `overrideFrozen`
This commit adds a new initialization priority `FreezeNamespaces` that is run
last and moves all calls to `Namespace::Freeze()` there. This allows all other
initialization functions to still update namespaces without the use of the
`overrideFrozen` flag.

It also moves the initialization of `System.Platform*` and `System.Build*` to
an initialize function so that these can also be set without setting
`overrideFrozen`.

This is preparation for a following commit that will make the frozen flag in
namespaces finial, no longer allowing it to be overriden (freezing the
namespace will disable locking, so performing further updates would be unsafe).
2023-01-19 09:53:36 +01:00
..
CMakeLists.txt Replace Copyright header with a short version, part II 2019-02-25 15:09:36 +01:00
commanddbobject.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
commanddbobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
db_ido-itl.conf Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
dbconnection.cpp IDO: use per-instance notification_id in history 2022-02-10 16:36:35 +01:00
dbconnection.hpp Merge pull request #8855 from Icinga/bugfix/inconsistent-ido-schema-versions-8852 2021-07-14 18:09:27 +02:00
dbconnection.ti Improve DB IDO HA failover behaviour 2019-04-01 08:50:00 +02:00
dbevents.cpp IDO: use per-instance notification_id in history 2022-02-10 16:36:35 +01:00
dbevents.hpp Revert "Make NotificationResult available for events: Cluster and Features" 2020-01-07 14:20:59 +01:00
dbobject.cpp IDO: use per-instance notification_id in history 2022-02-10 16:36:35 +01:00
dbobject.hpp IDO: use per-instance notification_id in history 2022-02-10 16:36:35 +01:00
dbquery.cpp Initialize namespaces without using `overrideFrozen` 2023-01-19 09:53:36 +01:00
dbquery.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
dbreference.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
dbreference.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
dbtype.cpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
dbtype.hpp Use std::mutex, not boost::mutex 2021-02-03 09:54:57 +01:00
dbvalue.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
dbvalue.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
endpointdbobject.cpp Replace std/boost::bind() function with lambda expression 2021-03-10 16:29:40 +01:00
endpointdbobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
hostdbobject.cpp *DbObject#CalculateConfigHash(): sort groups to be hashed 2020-10-13 13:47:49 +02:00
hostdbobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
hostgroupdbobject.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
hostgroupdbobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
i2-db_ido.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
idochecktask.cpp IdoCheckTask: de-couple MySQL and Postgres schema versions 2021-07-05 19:14:07 +02:00
idochecktask.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
servicedbobject.cpp *DbObject#CalculateConfigHash(): sort groups to be hashed 2020-10-13 13:47:49 +02:00
servicedbobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
servicegroupdbobject.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
servicegroupdbobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
timeperioddbobject.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
timeperioddbobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
userdbobject.cpp *DbObject#CalculateConfigHash(): sort groups to be hashed 2020-10-13 13:47:49 +02:00
userdbobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
usergroupdbobject.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
usergroupdbobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
zonedbobject.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
zonedbobject.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00