diff options
author | Ulf Wiger <[email protected]> | 2013-11-20 18:21:44 +0100 |
---|---|---|
committer | Richard Carlsson <[email protected]> | 2014-12-22 22:44:06 +0100 |
commit | fefb2d78cb10606f83ad4010fee6a8be4d4191f2 (patch) | |
tree | 15565ad48081f302d930cb504d9747259c4646c1 /bootstrap/lib | |
parent | 85112014bd136055b56e6ec5218f82f74951e0c6 (diff) | |
download | otp-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 'bootstrap/lib')
0 files changed, 0 insertions, 0 deletions