mirror of https://gitee.com/bigwinds/arangodb
Merge branch 'devel' of https://github.com/arangodb/arangodb into spdvpk
This commit is contained in:
commit
1efc83babf
|
@ -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
|
||||
|
|
|
@ -379,6 +379,7 @@ ArangoServer::ArangoServer(int argc, char** argv)
|
|||
_applicationDispatcher(nullptr),
|
||||
_applicationEndpointServer(nullptr),
|
||||
_applicationCluster(nullptr),
|
||||
_applicationAgency(nullptr),
|
||||
_jobManager(nullptr),
|
||||
_applicationV8(nullptr),
|
||||
_authenticateSystemOnly(false),
|
||||
|
|
Loading…
Reference in New Issue