mirror of https://gitee.com/bigwinds/arangodb
Add catch when propagateSelfHeal (#2839)
This commit is contained in:
parent
59f75c1c3f
commit
3a59ea553b
|
@ -383,11 +383,15 @@ function reloadRouting () {
|
||||||
}
|
}
|
||||||
|
|
||||||
function propagateSelfHeal () {
|
function propagateSelfHeal () {
|
||||||
parallelClusterRequests(function * () {
|
try {
|
||||||
for (const coordId of getPeerCoordinatorIds()) {
|
parallelClusterRequests(function * () {
|
||||||
yield [coordId, 'POST', '/_api/foxx/_local/heal'];
|
for (const coordId of getPeerCoordinatorIds()) {
|
||||||
}
|
yield [coordId, 'POST', '/_api/foxx/_local/heal'];
|
||||||
}());
|
}
|
||||||
|
}());
|
||||||
|
} catch (e) {
|
||||||
|
console.errorStack(e, 'Failure during propagate self heal');
|
||||||
|
}
|
||||||
reloadRouting();
|
reloadRouting();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue