mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 01:42:37 +08:00
Fix formatting issues.
This commit is contained in:
parent
19d78cf2a3
commit
cf5d3c83a1
@ -758,8 +758,8 @@ ACTOR Future<Void> clearData(Database cx) {
|
||||
// If the result is non-empty, it is possible that there is some bad interaction between the test
|
||||
// and the optional simulated default tenant:
|
||||
//
|
||||
// 1. If the test is creating/deleting tenants itself, then it should disable the default tenant.
|
||||
// 2. If the test is opening Database objects itself, then it needs to propagate the default tenant
|
||||
// 1. If the test is creating/deleting tenants itself, then it should disable the default tenant.
|
||||
// 2. If the test is opening Database objects itself, then it needs to propagate the default tenant
|
||||
// value from the existing Database.
|
||||
// 3. If the test is using raw access or system key access and writing to the normal key-space, then
|
||||
// it should disable the default tenant.
|
||||
|
@ -114,7 +114,7 @@ struct WriteDuringReadWorkload : TestWorkload {
|
||||
|
||||
std::string description() const override { return "WriteDuringRead"; }
|
||||
|
||||
ACTOR Future<Void> setupImpl(WriteDuringReadWorkload *self, Database cx) {
|
||||
ACTOR Future<Void> setupImpl(WriteDuringReadWorkload* self, Database cx) {
|
||||
// If we are operating in the default tenant but enable raw access, we should only write keys
|
||||
// in the tenant's key-space.
|
||||
if (self->useSystemKeys && cx->defaultTenant.present() && self->keyPrefix < systemKeys.begin) {
|
||||
@ -124,9 +124,7 @@ struct WriteDuringReadWorkload : TestWorkload {
|
||||
return Void();
|
||||
}
|
||||
|
||||
Future<Void> setup(Database const& cx) override {
|
||||
return setupImpl(this, cx);
|
||||
}
|
||||
Future<Void> setup(Database const& cx) override { return setupImpl(this, cx); }
|
||||
|
||||
Future<Void> start(Database const& cx) override {
|
||||
if (clientId == 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user