mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-01 18:56:00 +08:00
Fix a backup progress true-up bug
Sometimes, the true-up has to go backup multiple epochs for saved versions, because a tag's progress can be missing in an epoch. In other words, we need to check progress for all tags.
This commit is contained in:
parent
6edcb8cf00
commit
3108102f26
@ -115,7 +115,7 @@ std::map<std::tuple<LogEpoch, Version, int>, std::map<Tag, Version>> BackupProgr
|
|||||||
// ASSERT(info.logRouterTags == epochTags[rit->first]);
|
// ASSERT(info.logRouterTags == epochTags[rit->first]);
|
||||||
|
|
||||||
updateTagVersions(&tagVersions, &tags, rit->second, info.epochEnd, adjustedBeginVersion, epoch);
|
updateTagVersions(&tagVersions, &tags, rit->second, info.epochEnd, adjustedBeginVersion, epoch);
|
||||||
break;
|
if (tags.empty()) break;
|
||||||
}
|
}
|
||||||
rit++;
|
rit++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user