mirror of https://gitee.com/bigwinds/arangodb
coordinator would not always include rocksdb error message with error code (#9458)
This commit is contained in:
parent
bc12ba12d2
commit
f09ff46c65
|
@ -2081,6 +2081,10 @@ int ClusterInfo::ensureIndexCoordinatorInner(std::string const& databaseName,
|
|||
auto rollbackEndTime = steady_clock::now() + std::chrono::seconds(10);
|
||||
while (true) {
|
||||
AgencyCommResult update = _agency.sendTransactionWithFailover(trx, 0.0);
|
||||
{
|
||||
CONDITION_LOCKER(locker, agencyCallback->_cv);
|
||||
errorMsg = *errMsg; // default is "", but errors not covered below can populate
|
||||
}
|
||||
if (update.successful()) {
|
||||
loadPlan();
|
||||
if (tmpRes < 0) { // timeout
|
||||
|
|
Loading…
Reference in New Issue