PubSub purge_node must use a transaction (#2231)

This commit is contained in:
Christophe Romain 2018-04-24 15:58:56 +02:00
parent 67773c5174
commit 3df919244c
1 changed files with 1 additions and 1 deletions

View File

@ -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,