Skip to content

Latest commit

 

History

History
74 lines (29 loc) · 1.52 KB

unsplit_reporter.md

File metadata and controls

74 lines (29 loc) · 1.52 KB

#Module unsplit_reporter#

Unsplit Inconsistency Reporter Behaviour.

##Description##

This module implements a basic behaviour for reporting inconsistencies encountered during the merge procedure.

##Function Index##

behaviour_info/1
childspec/0Return a child start specification for the pre-defined reporter.
inconsistency/4Report an inconsistency encountered during the merge.

##Function Details##

###behaviour_info/1##

behaviour_info(X1) -> any()

###childspec/0##

childspec() -> ignore | supervisor:child_spec()



Return a child start specification for the pre-defined reporter

See supervisor. Use ignore if no process should be started.

###inconsistency/4##

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



Report an inconsistency encountered during the merge

The default implementation raises an alarm via the SASL alarm_handler