MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / drop_cluster

Method drop_cluster

src/controller/src/clusters.rs:440–443  ·  view source on GitHub ↗

Drops the specified cluster. # Panics Panics if the cluster still has replicas.

(&mut self, id: ClusterId)

Source from the content-addressed store, hash-verified

438 ///
439 /// Panics if the cluster still has replicas.
440 pub fn drop_cluster(&mut self, id: ClusterId) {
441 self.storage.drop_instance(id);
442 self.compute.drop_instance(id);
443 }
444
445 /// Creates a replica of the specified cluster with the specified identifier
446 /// and configuration.

Callers 1

Calls 1

drop_instanceMethod · 0.45

Tested by

no test coverage detected