Module ra_dbg

utilities to debug ra.

Description

utilities to debug ra

Function Index

replay_log/3Replays log file for a given state machine module with an initial state.
replay_log/4Replays log file for a given state machine module with an initial state.
filter_duplicate_entries/1

Function Details

replay_log/3

replay_log(WalFile :: string(),
           Module :: module(),
           InitialState :: term()) ->
              term()

returns: The state once the log has been replayed.

Replays log file for a given state machine module with an initial state.

replay_log/4

replay_log(WalFile :: string(),
           Module :: module(),
           InitialState :: term(),
           Fun) ->
              term()

returns: The state once the log has been replayed.

Replays log file for a given state machine module with an initial state.

filter_duplicate_entries/1

filter_duplicate_entries(WalInReverseOrder) -> any()


Generated by EDoc