1
0
Fork 0

Faster creation of smart edge collections.

This commit is contained in:
Max Neunhoeffer 2016-09-29 11:11:28 +02:00
parent 944b29c2a2
commit 4080f93eb2
1 changed files with 5 additions and 0 deletions

View File

@ -1130,6 +1130,11 @@ int ClusterInfo::createCollectionCoordinator(std::string const& databaseName,
// Update our cache:
loadPlan();
if (numberOfShards == 0) {
loadCurrent();
return TRI_ERROR_NO_ERROR;
}
{
CONDITION_LOCKER(locker, agencyCallback->_cv);