mirror of https://gitee.com/bigwinds/arangodb
Remove traces
This commit is contained in:
parent
2d4409e376
commit
917255fa28
|
@ -1270,12 +1270,8 @@ int ClusterInfo::createCollectionCoordinator(std::string const& databaseName,
|
||||||
res.clear();
|
res.clear();
|
||||||
res = ac.getValues(where, true);
|
res = ac.getValues(where, true);
|
||||||
|
|
||||||
LOG(TRACE) << "CREATE OYOYOYOY " << where;
|
|
||||||
|
|
||||||
if (res.successful() && res.parse(where + "/", false)) {
|
if (res.successful() && res.parse(where + "/", false)) {
|
||||||
LOG(TRACE) << "CREATE IS SUCCESS " << where;
|
|
||||||
if (res._values.size() == (size_t)numberOfShards) {
|
if (res._values.size() == (size_t)numberOfShards) {
|
||||||
LOG(TRACE) << "CREATE has number " << where;
|
|
||||||
std::string tmpMsg = "";
|
std::string tmpMsg = "";
|
||||||
bool tmpHaveError = false;
|
bool tmpHaveError = false;
|
||||||
for (auto const& p : res._values) {
|
for (auto const& p : res._values) {
|
||||||
|
@ -1297,23 +1293,17 @@ int ClusterInfo::createCollectionCoordinator(std::string const& databaseName,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LOG(TRACE) << "CREATE PRE LOAD has number " << where;
|
|
||||||
loadCurrentCollections();
|
loadCurrentCollections();
|
||||||
LOG(TRACE) << "CREATE POST LOAD has number " << where;
|
|
||||||
if (tmpHaveError) {
|
if (tmpHaveError) {
|
||||||
errorMsg = "Error in creation of collection:" + tmpMsg;
|
errorMsg = "Error in creation of collection:" + tmpMsg;
|
||||||
LOG(TRACE) << "CREATE KAP0TT " << where;
|
|
||||||
return TRI_ERROR_CLUSTER_COULD_NOT_CREATE_COLLECTION;
|
return TRI_ERROR_CLUSTER_COULD_NOT_CREATE_COLLECTION;
|
||||||
}
|
}
|
||||||
LOG(TRACE) << "CREATE OK " << where;
|
|
||||||
return setErrormsg(TRI_ERROR_NO_ERROR, errorMsg);
|
return setErrormsg(TRI_ERROR_NO_ERROR, errorMsg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
res.clear();
|
res.clear();
|
||||||
LOG(TRACE) << "JASSSSS " << interval;
|
|
||||||
_agencyCallbackRegistry->awaitNextChange("Current/Version", interval);
|
_agencyCallbackRegistry->awaitNextChange("Current/Version", interval);
|
||||||
LOG(TRACE) << "NNNNJASSSSS " << interval;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// LOG(ERR) << "GOT TIMEOUT. NUMBEROFSHARDS: " << numberOfShards;
|
// LOG(ERR) << "GOT TIMEOUT. NUMBEROFSHARDS: " << numberOfShards;
|
||||||
|
|
Loading…
Reference in New Issue