address review comments

This commit is contained in:
Markus Pilman 2022-11-10 14:55:20 -07:00
parent 40c1bbc49a
commit 53a1177dd2
2 changed files with 2 additions and 4 deletions

View File

@ -121,7 +121,7 @@ public:
return map(
holdWhile(arena, file->write(pdata, length, offset)), [corruptedBlock, file = file](auto res) {
if (g_network->isSimulated()) {
g_simulator->corruptedBlocks.template emplace(file->getFilename(), corruptedBlock);
g_simulator->corruptedBlocks.emplace(file->getFilename(), corruptedBlock);
}
return res;
});

View File

@ -248,9 +248,7 @@ struct BlobGranuleCorrectnessWorkload : TestWorkload {
}
}
}
void disableFailureInjectionWorkloads(std::set<std::string>& out) const override { out.insert("Attrition"); }
ACTOR Future<TenantMapEntry> setUpTenant(Database cx, TenantName name) {
if (BGW_DEBUG) {
fmt::print("Setting up blob granule range for tenant {0}\n", name.printable());