An unregister function should delete a cluster from the in memory graph database. I'm curious if go garbage collecting will handle this as long as an object (the cluster root) is disconnected from any running context. I think I can test that with this tool: https://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector
E.g.,:
- Run server with this visualizer
- Register a new cluster
- Unregister and see if the unregister reflects that it was cleaned up
What I don't want is to have dangling objects (vertices and edges) left over somewhere, and it would be less ideal to have to manually go through the graph and delete things.
An unregister function should delete a cluster from the in memory graph database. I'm curious if go garbage collecting will handle this as long as an object (the cluster root) is disconnected from any running context. I think I can test that with this tool: https://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector
E.g.,:
What I don't want is to have dangling objects (vertices and edges) left over somewhere, and it would be less ideal to have to manually go through the graph and delete things.