mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-03 03:41:53 +08:00
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:
parent
22e6afbb18
commit
b1fe069165
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user