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

Method remove_collection

src/compute-client/src/controller/instance.rs:339–347  ·  view source on GitHub ↗
(&mut self, id: GlobalId)

Source from the content-addressed store, hash-verified

337 }
338
339 fn remove_collection(&mut self, id: GlobalId) {
340 // Remove per-replica collection state.
341 for replica in self.replicas.values_mut() {
342 replica.remove_collection(id);
343 }
344
345 // Remove global collection state.
346 self.collections.remove(&id);
347 }
348
349 fn add_replica_state(
350 &mut self,

Callers 1

cleanup_collectionsMethod · 0.80

Calls 2

values_mutMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected