diff --git a/arangod/Cluster/AgencyComm.cpp b/arangod/Cluster/AgencyComm.cpp index e09a4629ac..8034706ae9 100644 --- a/arangod/Cluster/AgencyComm.cpp +++ b/arangod/Cluster/AgencyComm.cpp @@ -1668,7 +1668,7 @@ AgencyCommResult AgencyComm::sendWithFailover( if (system_clock::now() - start > ltimeout) { LOG_TOPIC(ERR, Logger::AGENCYCOMM) << "Timed out waiting for leader " - << agencyEndpoint->_endpoint->specification() << " tries: " << ltries; + << agencyEndpoint->_endpoint->specification() << " tries: " << ltries++; break; }