fixed includeall case
This commit is contained in:
parent
9db95bd976
commit
8930172e4a
|
@ -2017,7 +2017,9 @@ ACTOR Future<bool> include( Database db, std::vector<StringRef> tokens ) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (all) {
|
if (all) {
|
||||||
wait(makeInterruptable(includeServers(db, std::vector<AddressExclusion>(), failed)));
|
std::vector<AddressExclusion()> includeAll;
|
||||||
|
includeAll.push_back(AddressExclusion());
|
||||||
|
wait(makeInterruptable(includeServers(db, includeAll, failed)));
|
||||||
} else {
|
} else {
|
||||||
wait(makeInterruptable(includeServers(db, addresses, failed)));
|
wait(makeInterruptable(includeServers(db, addresses, failed)));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue