fix: during forced recovery logs can be removed from the logSystemConfig. We need to avoid killing the removed logs as unneeded until we actually complete the recovery

This commit is contained in:
Evan Tschannen 2018-09-28 12:13:46 -07:00
parent 22e6afbb18
commit b1fe069165

View File

@ -92,6 +92,11 @@ struct DBCoreState {
vector<UID> getPriorCommittedLogServers() {
vector<UID> priorCommittedLogServers;
for(auto& it : tLogs) {
for(auto& log : it.tLogs) {
priorCommittedLogServers.push_back(log);
}
}
for(int i = 0; i < oldTLogData.size(); i++) {
for(auto& it : oldTLogData[i].tLogs) {
for(auto& log : it.tLogs) {