Skip to content

feat: add unregister function for subsystem #12

Description

@vsoch

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.,:

  1. Run server with this visualizer
  2. Register a new cluster
  3. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions