threatgrid / asami

A graph store for Clojure and ClojureScript
Eclipse Public License 1.0
634 stars 29 forks source link

Clear memory connections on delete #218

Closed quoll closed 2 years ago

quoll commented 2 years ago

Deleting in-memory databases leaves connections alone. The connection may be reset to an empty database instead, as this meets the intuition for some people

quoll commented 2 years ago

Deleting on a URL will clear the connection. Transacting into existing connections will reattach them to the registry.

Need to deal with the case where a new connection via URL is picked up and connected into AND an existing connection is transacted into. This will create 2 disparate connections.