Fix some formatting issues

This commit is contained in:
A.J. Beamon 2022-07-28 13:42:34 -07:00
parent 65cfc839a6
commit 620467a91b
3 changed files with 4 additions and 6 deletions

View File

@ -207,10 +207,10 @@ private:
TenantName beginTenant,
TenantName endTenant,
std::map<TenantGroupName, int>* tenantGroupNetTenantDelta) {
state std::vector<std::pair<TenantName, TenantMapEntry>> tenants = wait(TenantAPI::listTenantsTransaction(
&ryw->getTransaction(), beginTenant, endTenant, CLIENT_KNOBS->TOO_MANY));
state std::vector<std::pair<TenantName, TenantMapEntry>> tenants = wait(
TenantAPI::listTenantsTransaction(&ryw->getTransaction(), beginTenant, endTenant, CLIENT_KNOBS->TOO_MANY));
if (tenants.size() > CLIENT_KNOBS->MAX_TENANTS_PER_CLUSTER) {
if (tenants.size() == CLIENT_KNOBS->TOO_MANY) {
TraceEvent(SevWarn, "DeleteTenantRangeTooLange")
.detail("BeginTenant", beginTenant)
.detail("EndTenant", endTenant);

View File

@ -1014,8 +1014,7 @@ void clusterRegisterMaster(ClusterControllerData* self, RegisterMasterRequest co
// Construct the client information
if (db->clientInfo->get().commitProxies != req.commitProxies ||
db->clientInfo->get().grvProxies != req.grvProxies ||
db->clientInfo->get().tenantMode != db->config.tenantMode ||
db->clientInfo->get().clusterId != req.clusterId ||
db->clientInfo->get().tenantMode != db->config.tenantMode || db->clientInfo->get().clusterId != req.clusterId ||
db->clientInfo->get().clusterType != db->clusterType ||
db->clientInfo->get().metaclusterName != db->metaclusterName) {
TraceEvent("PublishNewClientInfo", self->id)

View File

@ -263,7 +263,6 @@ struct TenantManagementConcurrencyWorkload : TestWorkload {
self->tenantNamePrefix.withSuffix("\xff"_sr),
self->maxTenants + 1));
state std::vector<std::pair<TenantName, TenantMapEntry>> metaclusterMap;
if (self->useMetacluster) {