aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mnesia/doc/src/mnesia.xml
diff options
context:
space:
mode:
authorUlf Wiger <[email protected]>2013-11-20 18:21:44 +0100
committerRichard Carlsson <[email protected]>2014-12-22 22:44:06 +0100
commitfefb2d78cb10606f83ad4010fee6a8be4d4191f2 (patch)
tree15565ad48081f302d930cb504d9747259c4646c1 /lib/mnesia/doc/src/mnesia.xml
parent85112014bd136055b56e6ec5218f82f74951e0c6 (diff)
downloadotp-fefb2d78cb10606f83ad4010fee6a8be4d4191f2.tar.gz
otp-fefb2d78cb10606f83ad4010fee6a8be4d4191f2.tar.bz2
otp-fefb2d78cb10606f83ad4010fee6a8be4d4191f2.zip
Make Mnesia DCD dump behaviour available via API
If a DCD dump is desired on-demand, use the function mnesia_controller:snapshot_dcd(Tables). Tables must be a list of tables that have a local disc_copy, otherwise an error will be returned. Once the operation actually executes, any table that doesn't have a local disc_copy is ignored. Specifically, the dump_log worker record has been changed to allow an arity-0 fun instead of the default log dump. This fun will be executed as if it were a normal log dump, and must return 'dumped'. This could also be used to e.g. insert a backup operation between log dumps.
Diffstat (limited to 'lib/mnesia/doc/src/mnesia.xml')
0 files changed, 0 insertions, 0 deletions