Closed sheharyarn closed 4 years ago
Related to #15 and #17.
Add more mnesia wrapper methods to easily add new cluster nodes to the mnesia config and change schema, copy type, waiting for tables to get ready and more.
Memento.add_nodes(nodes)
Memento.Schema.set_storage_type(node, mode)
Memento.Table.create_copy(Jobs, node, mode)
Memento.Table.delete_copy(Jobs, node)
Memento.Table.move_copy(Jobs, from_node, to_node)
Memento.Table.set_storage_type(Jobs, node, mode)
Related to #15 and #17.
Add more mnesia wrapper methods to easily add new cluster nodes to the mnesia config and change schema, copy type, waiting for tables to get ready and more.
Memento.add_nodes(nodes)
Memento.Schema.set_storage_type(node, mode)
Memento.Table.create_copy(Jobs, node, mode)
Memento.Table.delete_copy(Jobs, node)
Memento.Table.move_copy(Jobs, from_node, to_node)
Memento.Table.set_storage_type(Jobs, node, mode)