1
0
Fork 0

if inception fails, agency fatal errors

This commit is contained in:
Kaveh Vahedipour 2016-10-06 09:13:40 +02:00
parent 00b997c4b9
commit 31ebbe672f
2 changed files with 1 additions and 2 deletions

View File

@ -326,7 +326,6 @@ void Inception::run() {
LOG_TOPIC(FATAL, Logger::AGENCY)
<< "Failed to build environment for RAFT algorithm. Bailing out!";
FATAL_ERROR_EXIT();
return false;
}
_agent->ready(true);

View File

@ -248,7 +248,7 @@ bool MoveShard::start() {
// --- Block shards
for (auto const& shard : VPackArrayIterator(todo.slice()[0].get("shards"))) {
pending.add(_agencyPrefix + blockedShardsPrefix + shard,
pending.add(_agencyPrefix + blockedShardsPrefix + shard.copyString(),
VPackValue(VPackValueType::Object));
pending.add("jobId", VPackValue(_jobId));
pending.close();