mirror of https://gitee.com/bigwinds/arangodb
Bug fix/cleanup lost collection inc plan v (#6720)
* Increase the current version rather than the plan version.
This commit is contained in:
parent
3414825696
commit
6546b908be
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue