aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_monitor.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2010-02-04 13:40:03 +0000
committerErlang/OTP <[email protected]>2010-02-04 13:40:03 +0000
commit2a0a4a206d101e1b6f2d73bc3c0b59cccca3dee5 (patch)
treeb1263a3a9c20a85c3a8e91e2cf7a8434d148fa00 /lib/mnesia/src/mnesia_monitor.erl
parent3d02efe3bbcfc24e7a96b90b60d0a4d9911242fc (diff)
downloadotp-2a0a4a206d101e1b6f2d73bc3c0b59cccca3dee5.tar.gz
otp-2a0a4a206d101e1b6f2d73bc3c0b59cccca3dee5.tar.bz2
otp-2a0a4a206d101e1b6f2d73bc3c0b59cccca3dee5.zip
OTP-8402 Transactions could be left hanging if a node went down when
invoking mnesia:sync_transaction/[1,2]. Thanks Igor Ribeiro Sucupira.
Diffstat (limited to 'lib/mnesia/src/mnesia_monitor.erl')
-rw-r--r--lib/mnesia/src/mnesia_monitor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mnesia/src/mnesia_monitor.erl b/lib/mnesia/src/mnesia_monitor.erl
index ab1500d439..5df5df4969 100644
--- a/lib/mnesia/src/mnesia_monitor.erl
+++ b/lib/mnesia/src/mnesia_monitor.erl
@@ -497,7 +497,7 @@ handle_cast({mnesia_down, mnesia_locker, Node}, State) ->
process_q(State3);
false ->
%% No pending remote monitors
- {noreply, State2}
+ process_q(State2)
end;
handle_cast({disconnect, Node}, State) ->