mirror of https://gitee.com/bigwinds/arangodb
fixed erroneous break of supervision agency updates
This commit is contained in:
parent
2d4e5ababc
commit
0d82614fcc
|
@ -408,6 +408,7 @@ void Supervision::run() {
|
||||||
}
|
}
|
||||||
|
|
||||||
while (!this->isStopping()) {
|
while (!this->isStopping()) {
|
||||||
|
updateSnapshot();
|
||||||
// mop: always do health checks so shutdown is able to detect if a server
|
// mop: always do health checks so shutdown is able to detect if a server
|
||||||
// failed otherwise
|
// failed otherwise
|
||||||
if (_agent->leading()) {
|
if (_agent->leading()) {
|
||||||
|
|
Loading…
Reference in New Issue