1
0
Fork 0

Add catch when propagateSelfHeal (#2839)

This commit is contained in:
Mark 2017-07-19 17:03:52 +02:00 committed by Frank Celler
parent 59f75c1c3f
commit 3a59ea553b
1 changed files with 9 additions and 5 deletions

View File

@ -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();
} }