1
0
Fork 0

Bug fix/cleanup lost collection inc plan v (#6720)

* Increase the current version rather than the plan version.
This commit is contained in:
Lars Maier 2018-10-04 15:38:41 +02:00 committed by Max Neunhöffer
parent 3414825696
commit 6546b908be
1 changed files with 5 additions and 0 deletions

View File

@ -945,6 +945,11 @@ void Supervision::cleanupLostCollections(Node const& snapshot, AgentInterface *a
timepointToString(std::chrono::system_clock::now())));
}
}
// increase current version
builder->add(VPackValue("/arango/Current/Version"));
{VPackObjectBuilder op(builder.get());
builder->add("op", VPackValue("increment"));
}
}
{VPackObjectBuilder precon(builder.get());
// pre condition: