# HG changeset patch # User Matthew Wild # Date 1779722625 -3600 # Node ID e23b9651145de198edbeeab3f4be771674b33839 # Parent d79ef7a38fe86162e8da4083034c9ee1045c64ff util.pubsub: Ensure deleted node stays in memory store deletion failed This looks like a copy/paste fail. The in-memory representation could get out of sync if the storage failed to delete the node (it would report an error, but would no longer be listed until a server restart re-read it from storage). diff -r d79ef7a38fe8 -r e23b9651145d util/pubsub.lua --- a/util/pubsub.lua Mon May 25 16:20:02 2026 +0100 +++ b/util/pubsub.lua Mon May 25 16:23:45 2026 +0100 @@ -511,7 +511,7 @@ if self.config.nodestore then local ok, err = delete_node_in_store(self, node); if not ok then - self.nodes[node] = nil; + self.nodes[node] = node_obj; return ok, err; end end