]> granicus.if.org Git - icinga2/commitdiff
Avoid concurrent cluster config sync transactions
authorMichael Friedrich <michael.friedrich@icinga.com>
Mon, 13 May 2019 09:26:39 +0000 (11:26 +0200)
committerMichael Friedrich <michael.friedrich@icinga.com>
Wed, 19 Jun 2019 12:46:11 +0000 (14:46 +0200)
fixes #6660

lib/remote/apilistener-filesync.cpp

index bd592afaf993d12889feae88a4d3deb3ba9e305c..e39945a36e0fcd3205f332d824c6bc4cc5db760a 100644 (file)
@@ -217,7 +217,7 @@ void ApiListener::SendConfigUpdate(const JsonRpcConnection::Ptr& aclient)
 /**
  * Registered handler when a new config::Update message is received.
  *
- * Checks destination and permissions first, then analyses the update.
+ * Checks destination and permissions first, locks the transaction and analyses the update.
  * The newly received configuration is not copied to production immediately,
  * but into the staging directory first.
  * Last, the async validation and restart is triggered.