mirror of https://gitee.com/bigwinds/arangodb
agency warnings spamming
This commit is contained in:
parent
97ce16d88b
commit
b222c2306e
|
@ -285,9 +285,6 @@ std::vector<bool> Store::apply(std::vector<VPackSlice> const& queries,
|
|||
auto headerFields =
|
||||
std::make_unique<std::unordered_map<std::string, std::string>>();
|
||||
|
||||
LOG_TOPIC(WARN, Logger::AGENCY) << body.toJson();
|
||||
LOG_TOPIC(DEBUG, Logger::AGENCY) << endpoint.substr(6) + path;
|
||||
|
||||
arangodb::ClusterComm::instance()->asyncRequest(
|
||||
"1", 1, endpoint, rest::RequestType::POST, path,
|
||||
std::make_shared<std::string>(body.toString()), headerFields,
|
||||
|
|
|
@ -30,8 +30,7 @@ StoreCallback::StoreCallback() {}
|
|||
|
||||
bool StoreCallback::operator()(arangodb::ClusterCommResult* res) {
|
||||
if (res->status != CL_COMM_SENT) {
|
||||
|
||||
LOG_TOPIC(WARN, Logger::AGENCY)
|
||||
LOG_TOPIC(DEBUG, Logger::AGENCY)
|
||||
<< res->endpoint << "(" << res->status << ", " << res->errorMessage << ")";
|
||||
}
|
||||
return true;
|
||||
|
|
|
@ -1200,6 +1200,7 @@ int ClusterInfo::dropCollectionCoordinator(std::string const& databaseName,
|
|||
CONDITION_LOCKER(locker, agencyCallback->_cv);
|
||||
|
||||
while (true) {
|
||||
|
||||
if (dbServerResult >= 0) {
|
||||
return dbServerResult;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue