From: Michael Friedrich Date: Thu, 10 Nov 2016 19:00:00 +0000 (+0100) Subject: Ensure that runtime created objects are synced on (re)connect X-Git-Tag: v2.6.0~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4b86f69c969a29b0f237f898d83a50e785f86cce;p=icinga2 Ensure that runtime created objects are synced on (re)connect refs #11684 --- diff --git a/lib/remote/apilistener-configsync.cpp b/lib/remote/apilistener-configsync.cpp index 34c7d3e1e..0f8ba9c93 100644 --- a/lib/remote/apilistener-configsync.cpp +++ b/lib/remote/apilistener-configsync.cpp @@ -417,10 +417,6 @@ void ApiListener::SendRuntimeConfigObjects(const JsonRpcConnection::Ptr& aclient continue; for (const ConfigObject::Ptr& object : dtype->GetObjects()) { - /* don't sync objects with an older version time than the endpoint's log position */ - if (object->GetVersion() < endpoint->GetLocalLogPosition()) - continue; - /* don't sync objects for non-matching parent-child zones */ if (!azone->CanAccessObject(object)) continue;