mirror of https://gitee.com/bigwinds/arangodb
if inception fails, agency fatal errors
This commit is contained in:
parent
00b997c4b9
commit
31ebbe672f
|
@ -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);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue