icinga2/lib/remote
Julian Brost be53b0af9e Log config object deletions to replay log
The initial config object sync for each new connection (in
`ApiListener::SendRuntimeConfigObjects()`) only considers currently
existing objects and has no way to pass the information that objects
were deleted in the meantime.

This commit logs config object deletions to the replay log if required
so that there is a chance that it will be propagated to nodes that were
offline when the deletion happened.

Note that this can only be considered a workaround as the replay log
might be pruned or could even be completely disabled. Also, there still
seems to be a race-condition between the config sync and replay log of
multiple new connections at the same time.
2020-11-09 14:09:44 +01:00
..
CMakeLists.txt Implement first draft for cluster config staged sync 2019-06-19 14:46:11 +02:00
actionshandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
actionshandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
apiaction.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apiaction.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apifunction.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apifunction.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apilistener-authority.cpp Unify Application::GetStartTime() and drop GetMainTime() 2020-02-11 17:26:15 +01:00
apilistener-configsync.cpp Log config object deletions to replay log 2020-11-09 14:09:44 +01:00
apilistener-filesync.cpp Merge pull request #7870 from Icinga/bugfix/last-zone-sync-stage-validation-failed-7642 2020-10-19 12:31:01 +02:00
apilistener.cpp Merge pull request #7952 from Icinga/fix/SO_REUSEPORT-optional 2020-10-29 15:56:56 +01:00
apilistener.hpp Merge pull request #7870 from Icinga/bugfix/last-zone-sync-stage-validation-failed-7642 2020-10-19 12:31:01 +02:00
apilistener.ti API: Add AES128-GCM-SHA256 compatible cipher for el6 2019-09-16 14:19:22 +02:00
apiuser.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apiuser.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
apiuser.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
configfileshandler.cpp Fix circular #include 2019-04-25 08:25:28 +02:00
configfileshandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
configobjectutility.cpp Fix and improve logging for runtime object sync 2019-08-15 09:29:05 +02:00
configobjectutility.hpp Fix message origin for runtime created config object (create/delete events) 2019-08-13 15:05:47 +02:00
configpackageshandler.cpp Config packages: Catch active stage exceptions in rare cases 2019-05-08 16:43:27 +02:00
configpackageshandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
configpackageutility.cpp Introduce 'activate' parameter to config stage handling 2019-09-24 17:17:19 +01:00
configpackageutility.hpp Introduce 'activate' parameter to config stage handling 2019-09-24 17:17:19 +01:00
configstageshandler.cpp Introduce 'activate' parameter to config stage handling 2019-09-24 17:17:19 +01:00
configstageshandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
consolehandler.cpp Fix circular #include 2019-04-25 08:25:28 +02:00
consolehandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
createobjecthandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
createobjecthandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
deleteobjecthandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
deleteobjecthandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
endpoint.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
endpoint.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
endpoint.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
eventqueue.cpp Revert "Eventqueue: Remove unused code" 2019-11-02 14:00:23 +01:00
eventqueue.hpp Revert "Eventqueue: Remove unused code" 2019-11-02 14:00:23 +01:00
eventshandler.cpp /v1/events: don't over-consume CPU-bound threads 2019-04-25 15:56:38 +02:00
eventshandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
filterutility.cpp try without initialization of frame Locals which are not used for permissions filter and as far as I can see also not for query filters 2019-05-02 09:03:30 +02:00
filterutility.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
httphandler.cpp HTTP Request: Log an exception message if an error occurs 2020-11-02 15:01:48 +01:00
httphandler.hpp Quality: Purge old HTTP code in lib/remote 2019-05-24 15:50:43 +02:00
httpserverconnection.cpp Send Content-Type as api response header too 2020-07-10 10:42:55 +02:00
httpserverconnection.hpp Replace std::shared_ptr<AsioTlsStream> with Shared<AsioTlsStream>::Ptr 2019-10-21 16:12:35 +02:00
httputility.cpp Quality: Purge old HTTP code in lib/remote 2019-05-24 15:50:43 +02:00
httputility.hpp Quality: Purge old HTTP code in lib/remote 2019-05-24 15:50:43 +02:00
i2-remote.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
infohandler.cpp Update doc URL for the API info handler at /v1 2019-08-27 16:47:07 +02:00
infohandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
jsonrpc.cpp Replace std::shared_ptr<AsioTlsStream> with Shared<AsioTlsStream>::Ptr 2019-10-21 16:12:35 +02:00
jsonrpc.hpp Replace std::shared_ptr<AsioTlsStream> with Shared<AsioTlsStream>::Ptr 2019-10-21 16:12:35 +02:00
jsonrpcconnection-heartbeat.cpp Remove all codes related to the heartbeat timeout 2020-07-29 14:27:55 +02:00
jsonrpcconnection-pki.cpp Merge pull request #7970 from Icinga/bugfix/reconnect-loop 2020-04-27 13:05:22 +02:00
jsonrpcconnection.cpp Merge pull request #7864 from Icinga/bugfix/icinga2-doesn-t-close-connections-7203 2020-10-19 15:25:12 +02:00
jsonrpcconnection.hpp Replace std::shared_ptr<AsioTlsStream> with Shared<AsioTlsStream>::Ptr 2019-10-21 16:12:35 +02:00
messageorigin.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
messageorigin.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
modifyobjecthandler.cpp Improve error message for POST queries 2019-12-03 11:39:40 +01:00
modifyobjecthandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
objectqueryhandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
objectqueryhandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
pkiutility.cpp Pki: Extend GetCertificateInformation() with version, serial, signature algorithm, SANs 2020-02-17 17:44:10 +01:00
pkiutility.hpp CLI: Allow to list removed CSRs with 'ca list' 2019-06-07 10:33:55 +02:00
statushandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
statushandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
templatequeryhandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
templatequeryhandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
typequeryhandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
typequeryhandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
url-characters.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
url.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
url.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
variablequeryhandler.cpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
variablequeryhandler.hpp HttpServerConnection: encapsulate streaming start indicator 2019-04-02 17:37:29 +02:00
zone.cpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
zone.hpp Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00
zone.ti Replace Copyright header with a short version, part I 2019-02-25 14:48:22 +01:00