You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
Servers can be deleted or removed from a Cache Group used by a Topology, even if it means that Cache Group would no longer have any Servers in it.
#5144 already added this validation for POST and PUT /api/3.0/topologies, so if such a Server was deleted or moved to a different Cache Group, updating that Topology would then fail, as long as the Topology still contains that Cache Group.
New behavior:
As a CDN operator, I would like to prevent deleting the last server in a Cache Group that is assigned to any Topology. With no Servers in a Cache Group assigned to a Topology, that Topology is no longer valid, so the Cachegroup should be removed from the Topology before the last server can be deleted from it.
Minimal reproduction of the problem with instructions:
For DELETE:
Make a Cache Group
Add only 1 Server to the Cache Group
Make a Topology with that Cache Group
Delete the Server (should fail)
For PUT:
Make a Cache Group
Add only 1 Server to the Cache Group
Make a Topology with that Cache Group
Move the Server to a different Cache Group (should fail)