Fix purge at latest racing with other checking threads at the end of BlobGranuleVerify (#8281)

This commit is contained in:
Josh Slocum 2022-09-22 18:32:33 -05:00 committed by GitHub
parent 9122e6e5fe
commit 430f6e9670
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1218,7 +1218,7 @@ struct BlobGranuleVerifierWorkload : TestWorkload {
}
Future<bool> check(Database const& cx) override {
if (clientId == 0 || !doForcePurge) {
if (clientId == 0 || (!doForcePurge && !purgeAtLatest)) {
return _check(cx, this);
}
return true;