1
0
Fork 0

cluster startup ok. execept of corrdinator.

This commit is contained in:
Kaveh Vahedipour 2016-04-27 17:27:06 +02:00
parent 049cc8602e
commit bb834bb4a1
2 changed files with 3 additions and 1 deletions

View File

@ -1454,7 +1454,7 @@ AgencyCommResult AgencyComm::casValue(std::string const& key,
AgencyTransaction transaction(operation, precondition);
#warning must remove
std::cout << transaction.toJson() << std::endl;
std::cout << " +++++ " << transaction.toJson() << std::endl;
sendWithFailover(
arangodb::GeneralRequest::RequestType::POST,

View File

@ -360,6 +360,8 @@ exports.reload = function () {
while (! done) {
try {
UserVersion = ArangoAgency.get("Sync/UserVersion")["Sync/UserVersion"];
UserVersion = UserVersion.arango.Sync.UserVersion;
require("internal").print(UserVersion);
// This is now a string!
}
catch (err) {