]> granicus.if.org Git - icinga2/commitdiff
Ensure that runtime created objects are synced on (re)connect
authorMichael Friedrich <michael.friedrich@icinga.com>
Thu, 10 Nov 2016 19:00:00 +0000 (20:00 +0100)
committerMichael Friedrich <michael.friedrich@icinga.com>
Fri, 11 Nov 2016 15:29:37 +0000 (16:29 +0100)
refs #11684

lib/remote/apilistener-configsync.cpp

index 34c7d3e1e44d9beb3ea03bb652f39e146c654bde..0f8ba9c9396527e3cae53c93b43cbcb273dee35e 100644 (file)
@@ -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;