mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 18:02:31 +08:00
Commit some changes that got left off in the last commit
This commit is contained in:
parent
8b7b6d1d4c
commit
2eabfe2597
@ -218,7 +218,7 @@ struct TenantManagementConcurrencyWorkload : TestWorkload {
|
||||
if (self->useMetacluster) {
|
||||
wait(MetaclusterAPI::configureTenant(self->mvDb, tenant, configParams));
|
||||
} else {
|
||||
Reference<ReadYourWritesTransaction> tr = self->dataDb->createTransaction();
|
||||
state Reference<ReadYourWritesTransaction> tr = self->dataDb->createTransaction();
|
||||
loop {
|
||||
try {
|
||||
tr->setOption(FDBTransactionOptions::ACCESS_SYSTEM_KEYS);
|
||||
@ -227,7 +227,7 @@ struct TenantManagementConcurrencyWorkload : TestWorkload {
|
||||
for (auto param : configParams) {
|
||||
updatedEntry.configure(param.first, param.second);
|
||||
}
|
||||
TenantAPI::configureTenantTransaction(tr, tenant, entry, updatedEntry);
|
||||
wait(TenantAPI::configureTenantTransaction(tr, tenant, entry, updatedEntry));
|
||||
wait(buggifiedCommit(tr, BUGGIFY_WITH_PROB(0.1)));
|
||||
break;
|
||||
} catch (Error& e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user