1
0
Fork 0

searching for broken collection creation in clusterinfo

This commit is contained in:
Kaveh Vahedipour 2017-01-10 08:26:25 +01:00
parent 7083300dca
commit dc9d8413c0
1 changed files with 4 additions and 1 deletions

View File

@ -1151,7 +1151,10 @@ int ClusterInfo::createCollectionCoordinator(std::string const& databaseName,
AgencyCommResult res = ac.sendTransactionWithFailover(transaction);
if (!res.successful()) {
errorMsg += std::string(" ") + __FILE__ + std::to_string(__LINE__);
errorMsg += std::string("\n") + __FILE__ + std::to_string(__LINE__);
errorMsg += std::string("\n") + res.errorMessage();
errorMsg += std::string("\n") + res.errorDetails();
errorMsg += std::string("\n") + res.body();
events::CreateCollection(
name, TRI_ERROR_CLUSTER_COULD_NOT_CREATE_COLLECTION_IN_PLAN);
return TRI_ERROR_CLUSTER_COULD_NOT_CREATE_COLLECTION_IN_PLAN;