mirror of https://gitee.com/bigwinds/arangodb
Faster creation of smart edge collections.
This commit is contained in:
parent
944b29c2a2
commit
4080f93eb2
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue