mirror of https://gitee.com/bigwinds/arangodb
do not crash on empty followers list (#6374)
This commit is contained in:
parent
2a4e327d8c
commit
2478e5ae18
|
@ -255,7 +255,7 @@ static void ReportOffSync(
|
|||
auto const& c = counters[s.first];
|
||||
if (c.insync) {
|
||||
ReportShardNoProgress(s.first, s.second, aliases, result);
|
||||
} else {
|
||||
} else if (!c.followers.empty()) {
|
||||
ReportShardNoProgress(s.first, c.followers, aliases, result);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue