aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/src/mnesia_kernel_sup.erl
diff options
context:
space:
mode:
authorDan Gudmundsson <[email protected]>2011-09-19 15:52:58 +0200
committerDan Gudmundsson <[email protected]>2011-09-19 15:52:58 +0200
commita6bd22387b3647a5e2669314c800454ccde9b0b3 (patch)
tree50b624bf67e105c0c8ed398021f31d1ccd75dc53 /lib/mnesia/src/mnesia_kernel_sup.erl
parent7ebf84abf7e5d06ce9ef6ec11783318aa393093d (diff)
downloadotp-a6bd22387b3647a5e2669314c800454ccde9b0b3.tar.gz
otp-a6bd22387b3647a5e2669314c800454ccde9b0b3.tar.bz2
otp-a6bd22387b3647a5e2669314c800454ccde9b0b3.zip
[mnesia] Use api to log decisions.
Instead of just appending decisions to the log, use mnesia_log:log(Decision), it will increment the counter which causes the log to be dumped even if no actual commits are stored on this node. This fixed a bug where the LATEST.log would grow forever on a node which had the schema on disc, but where not involved in any commits.
Diffstat (limited to 'lib/mnesia/src/mnesia_kernel_sup.erl')
0 files changed, 0 insertions, 0 deletions