mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
parent
465e1f5ee1
commit
059cf8fed1
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ replicate_database(Node) ->
|
|||
mnesia:change_table_copy_type(schema, node(), disc_copies),
|
||||
lists:foreach(
|
||||
fun(Table) ->
|
||||
Type = ejabberd_cluster:call(Node, mnesia, table_info, [Table, storage_type]),
|
||||
Type = rpc:call(Node, mnesia, table_info, [Table, storage_type]),
|
||||
mnesia:add_table_copy(Table, node(), Type)
|
||||
end, mnesia:system_info(tables)--[schema]).
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue