Skip to content

Latest commit

 

History

History
104 lines (39 loc) · 2.11 KB

unsplit.md

File metadata and controls

104 lines (39 loc) · 2.11 KB

#Module unsplit#

Framework for merging mnesia tables after netsplit.

Behaviours: application, supervisor.

Authors: : Ulf Wiger (ulf.wiger@erlang-solutions.com).

##Description##

...

##Function Index##

get_reporter/0Look up the predefined callback module for reporting inconsistencies.
report_inconsistency/4Report an inconcistency to the predefined reporter.
report_inconsistency/5Report an inconsistency to Reporter (an unsplit_reporter behaviour).
start/2Application start callback.
stop/1Application stop callback.

##Function Details##

###get_reporter/0##

get_reporter() -> module()



Look up the predefined callback module for reporting inconsistencies

###report_inconsistency/4##

report_inconsistency(Tab::Table, Key, ObjA::ObjectA, ObjB::ObjectB) -> ok



Report an inconcistency to the predefined reporter

###report_inconsistency/5##

report_inconsistency(Reporter, Tab::Table, Key, ObjA::ObjectA, ObjB::ObjectB) -> ok



Report an inconsistency to Reporter (an unsplit_reporter behaviour)

###start/2##

start(X1::Type, X2::Arg) -> {ok, pid()}



Application start callback

###stop/1##

stop(X1::State) -> ok



Application stop callback