[erlang-questions] Mnesia callbacks for write operations

Alexandre Snarskii snar@REDACTED
Thu Sep 1 14:12:51 CEST 2016


On Thu, Sep 01, 2016 at 01:52:05PM +0200, Roberto Ostinelli wrote:
> All,
> I'd like to sync mnesia across clusters using a custom TCP transport, and would
> like to know if it is possible to have a method being called back when a write
> operation takes place, so to signal it to the other cluster through the
> transport.

mnesia:subscribe({table, Table, detailed}),

http://erlang.org/doc/apps/mnesia/Mnesia_chap5.html#id81558

> I've seen some mnesia backup modules but their function is a little obscure to
> me. Has anyone some pointers on this?
> 
> Thank you,
> r.
> 

> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions




More information about the erlang-questions mailing list