From 3df919244c97cd3b74dbd1264539a7b8d4b4db85 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Tue, 24 Apr 2018 15:58:56 +0200 Subject: [PATCH] PubSub purge_node must use a transaction (#2231) --- src/mod_pubsub.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod_pubsub.erl b/src/mod_pubsub.erl index 5d02d6518..eac31f616 100644 --- a/src/mod_pubsub.erl +++ b/src/mod_pubsub.erl @@ -1954,7 +1954,7 @@ purge_node(Host, Node, Owner) -> end end, Reply = undefined, - case transaction(Host, Node, Action, sync_dirty) of + case transaction(Host, Node, Action, transaction) of {result, {TNode, {Result, broadcast}}} -> Nidx = TNode#pubsub_node.id, Type = TNode#pubsub_node.type,