mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-15 02:18:39 +08:00
Remove unnecessary deletion of the cluster capacity index
This commit is contained in:
parent
48f149a62e
commit
ff93b345e5
@ -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());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user