1
0
Fork 0
This commit is contained in:
jsteemann 2016-03-23 23:06:18 +01:00
parent c3678ea845
commit 8f4a3be165
3 changed files with 2 additions and 3 deletions

View File

@ -263,7 +263,6 @@ ServerState::RoleEnum ServerState::getRole() {
return role;
}
std::string info = _localInfo;
std::string id = _id;
if (id.empty()) {

View File

@ -1,4 +1,3 @@
////////////////////////////////////////////////////////////////////////////////
/// DISCLAIMER
///
@ -90,8 +89,8 @@ inline HttpHandler::status_t RestAgencyHandler::handleWrite () {
return HttpHandler::status_t(HANDLER_DONE);
}
write_ret_t ret = _agent->write (query);
size_t errors = 0;
if (ret.accepted) { // We're leading and handling the request
size_t errors = 0;
Builder body;
body.add(VPackValue(VPackValueType::Object));
_agent->waitFor (ret.indices.back()); // Wait for confirmation

View File

@ -380,6 +380,7 @@ ArangoServer::ArangoServer(int argc, char** argv)
_applicationDispatcher(nullptr),
_applicationEndpointServer(nullptr),
_applicationCluster(nullptr),
_applicationAgency(nullptr),
_jobManager(nullptr),
_applicationV8(nullptr),
_authenticateSystemOnly(false),