1
0
Fork 0

more information from ClusterInfo's dropCollectionCoordinator

This commit is contained in:
Kaveh Vahedipour 2017-01-10 16:19:10 +01:00
parent dc3772ea84
commit f699117133
1 changed files with 11 additions and 0 deletions

View File

@ -1294,6 +1294,17 @@ int ClusterInfo::dropCollectionCoordinator(std::string const& databaseName,
precondition);
res = ac.sendTransactionWithFailover(trans);
if (!res.successful()) {
LOG(ERR) << "###################### WAS ERLAUBE? ####################";
AgencyCommResult ag = ac.getValues("");
if (ag.successful()) {
LOG_TOPIC(ERR, Logger::CLUSTER) << "Agency dump:\n"
<< ag.slice().toJson();
} else {
LOG_TOPIC(ERR, Logger::CLUSTER) << "Could not get agency dump!";
}
}
// Update our own cache:
loadPlan();