mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-07 20:25:08 +02:00
Avoid syncing .authorititative marker received from < 2.11 parent nodes
(cherry picked from commit e7c07062f8f70098cf73c41ca594178b20360d3c)
This commit is contained in:
parent
e02d778f6b
commit
de0876388e
@ -450,6 +450,10 @@ Value ApiListener::ConfigUpdateHandler(const MessageOrigin::Ptr& origin, const D
|
||||
<< "Stage: Updating received configuration file '" << path << "' for zone '" << zoneName << "'.";
|
||||
}
|
||||
|
||||
// Parent nodes < 2.11 always send this, avoid this bug and deny its receival prior to writing it on disk.
|
||||
if (Utility::BaseName(path) == ".authoritative")
|
||||
continue;
|
||||
|
||||
// Sync string content only.
|
||||
String content = kv.second;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user