chore(mria): Get rid of copy_mnesia callback
This commit is contained in:
parent
e14a62d4d6
commit
326923850c
|
@ -26,7 +26,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-export([post_config_update/4]).
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-export([start_link/0, stop/0]).
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-export([start_link/2]).
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
%% API
|
||||
-export([ start_link/0
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
%% APIs
|
||||
-export([start_link/0]).
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
%% Trie APIs
|
||||
-export([ insert/1
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-record(user_info,
|
||||
{ user_id
|
||||
|
|
|
@ -59,7 +59,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-define(TAB, ?MODULE).
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@
|
|||
-endif.
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-spec(mnesia(boot | copy) -> ok).
|
||||
mnesia(boot) ->
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
-include("emqx_dashboard.hrl").
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
%% Mnesia bootstrap
|
||||
-export([mnesia/1]).
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
-export([get_local_time/0]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
%% Mnesia bootstrap
|
||||
-export([mnesia/1]).
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-export([mnesia/1]).
|
||||
|
||||
|
|
|
@ -58,7 +58,6 @@
|
|||
%-export([mnesia/1]).
|
||||
|
||||
%-boot_mnesia({mnesia, [boot]}).
|
||||
%-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
%%% @doc Create or replicate tables.
|
||||
%-spec(mnesia(boot | copy) -> ok).
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
-endif.
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-include_lib("emqx/include/logger.hrl").
|
||||
-include("emqx_machine.hrl").
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-export([ start_link/0
|
||||
, on_message_publish/1
|
||||
|
|
|
@ -30,7 +30,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-export([ start_link/0
|
||||
, stop/0
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
-export([mnesia/1]).
|
||||
|
||||
-boot_mnesia({mnesia, [boot]}).
|
||||
-copy_mnesia({mnesia, [copy]}).
|
||||
|
||||
-define(TAB, ?MODULE).
|
||||
-define(PSK_SHARD, emqx_psk_shard).
|
||||
|
|
Loading…
Reference in New Issue