Remove unnecessary deletion of the cluster capacity index

This commit is contained in:
A.J. Beamon 2022-08-04 06:39:58 -07:00
parent 48f149a62e
commit ff93b345e5

View File

@ -835,10 +835,6 @@ struct RemoveClusterImpl {
if (!tenantGroupEntries.more) {
ManagementClusterMetadata::dataClusters.erase(tr, self->ctx.clusterName.get());
ManagementClusterMetadata::dataClusterConnectionRecords.erase(tr, self->ctx.clusterName.get());
ManagementClusterMetadata::clusterCapacityIndex.erase(
tr,
Tuple::makeTuple(self->ctx.dataClusterMetadata.get().entry.allocated.numTenantGroups,
self->ctx.clusterName.get()));
ManagementClusterMetadata::clusterTenantCount.erase(tr, self->ctx.clusterName.get());
}