1
0
Fork 0

Increase current version when cleaning out a lost collection. (#6715)

* Increase the current version rather than the plan version.
This commit is contained in:
Lars Maier 2018-10-04 13:49:54 +02:00 committed by Max Neunhöffer
parent dfba4b6381
commit 03d5b26013
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: