Fix indentation and refactor prefix construction to be in forward order
This commit is contained in:
parent
2f67328a0c
commit
aff21f062f
|
@ -41,7 +41,7 @@ import com.apple.foundationdb.tuple.Tuple;
|
|||
*/
|
||||
public class TenantManagement {
|
||||
static byte[] TENANT_MAP_PREFIX = ByteArrayUtil.join(new byte[] { (byte)255, (byte)255 },
|
||||
"/management/tenant/map/".getBytes());
|
||||
"/management/tenant/map/".getBytes());
|
||||
|
||||
/**
|
||||
* Creates a new tenant in the cluster. If the tenant already exists, this operation will complete
|
||||
|
|
|
@ -50,9 +50,9 @@ struct TenantManagementWorkload : TestWorkload {
|
|||
const TenantName tenantNamePrefix = "tenant_management_workload_"_sr;
|
||||
TenantName localTenantNamePrefix;
|
||||
|
||||
const Key specialKeysTenantMapPrefix =
|
||||
TenantRangeImpl<true>::mapSubRange.begin.withPrefix(TenantRangeImpl<true>::submoduleRange.begin.withPrefix(
|
||||
SpecialKeySpace::getModuleRange(SpecialKeySpace::MODULE::MANAGEMENT).begin));
|
||||
const Key specialKeysTenantMapPrefix = SpecialKeySpace::getModuleRange(SpecialKeySpace::MODULE::MANAGEMENT)
|
||||
.begin.withSuffix(TenantRangeImpl<true>::submoduleRange.begin)
|
||||
.withSuffix(TenantRangeImpl<true>::mapSubRange.begin);
|
||||
|
||||
int maxTenants;
|
||||
double testDuration;
|
||||
|
|
Loading…
Reference in New Issue