mirror of https://gitee.com/bigwinds/arangodb
searching for broken collection creation in clusterinfo
This commit is contained in:
parent
7083300dca
commit
dc9d8413c0
|
@ -1151,7 +1151,10 @@ int ClusterInfo::createCollectionCoordinator(std::string const& databaseName,
|
||||||
AgencyCommResult res = ac.sendTransactionWithFailover(transaction);
|
AgencyCommResult res = ac.sendTransactionWithFailover(transaction);
|
||||||
|
|
||||||
if (!res.successful()) {
|
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(
|
events::CreateCollection(
|
||||||
name, TRI_ERROR_CLUSTER_COULD_NOT_CREATE_COLLECTION_IN_PLAN);
|
name, TRI_ERROR_CLUSTER_COULD_NOT_CREATE_COLLECTION_IN_PLAN);
|
||||||
return TRI_ERROR_CLUSTER_COULD_NOT_CREATE_COLLECTION_IN_PLAN;
|
return TRI_ERROR_CLUSTER_COULD_NOT_CREATE_COLLECTION_IN_PLAN;
|
||||||
|
|
Loading…
Reference in New Issue