Avoid concurrent cluster config sync transactions

fixes #6660
This commit is contained in:
Michael Friedrich 2019-05-13 11:26:39 +02:00
parent af8624dcf1
commit 6add9f9ecb
1 changed files with 1 additions and 1 deletions

View File

@ -217,7 +217,7 @@ void ApiListener::SendConfigUpdate(const JsonRpcConnection::Ptr& aclient)
/** /**
* Registered handler when a new config::Update message is received. * 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, * The newly received configuration is not copied to production immediately,
* but into the staging directory first. * but into the staging directory first.
* Last, the async validation and restart is triggered. * Last, the async validation and restart is triggered.