unsplit.md
January 22, 2012 ยท View on GitHub
#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/0 | Look up the predefined callback module for reporting inconsistencies. |
| report_inconsistency/4 | Report an inconcistency to the predefined reporter. |
| report_inconsistency/5 | Report an inconsistency to Reporter (an unsplit_reporter behaviour). |
| start/2 | Application start callback. |
| stop/1 | Application 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()}
###stop/1##
stop(X1::State) -> ok
Application stop callback