fixed includeall case

This commit is contained in:
Jon Fu 2019-10-23 11:12:10 -07:00
parent 9db95bd976
commit 8930172e4a
1 changed files with 3 additions and 1 deletions

View File

@ -2017,7 +2017,9 @@ ACTOR Future<bool> include( Database db, std::vector<StringRef> tokens ) {
}
}
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 {
wait(makeInterruptable(includeServers(db, addresses, failed)));
}