Fix some formatting issues
This commit is contained in:
parent
65cfc839a6
commit
620467a91b
|
@ -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);
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue