partisan_trace_orchestrator (partisan v6.0.0)

View Source

This module requires disterl.

Summary

Functions

Enable trace.

Interposition applied on a peer while that peer is faulted_for_background, dropping only messages annotated as background. The annotations are read from the peer's own partisan_config, where the installer places them, rather than captured from the enclosing scope, which is what allows this to be a named fun.

Interposition applied on a peer while that peer is faulted, dropping the message. It is installed as a named fun, fun ?MODULE:F/A, which the receiving node resolves by name; an anonymous fun would instead be bound to the exact module the installer loaded and would fail to apply on a node whose copy of this module differs.

Identify trace.

Perform preloads.

Print trace.

Replay trace.

Reset trace.

Same as start_link([]).

Start and link to calling process.

Record trace message.

Functions

debug(Line, Args)

enable(Nodes)

Enable trace.

faulted_for_background_interposition(_)

Interposition applied on a peer while that peer is faulted_for_background, dropping only messages annotated as background. The annotations are read from the peer's own partisan_config, where the installer places them, rather than captured from the enclosing scope, which is what allows this to be a named fun.

faulted_interposition(_)

Interposition applied on a peer while that peer is faulted, dropping the message. It is installed as a named fun, fun ?MODULE:F/A, which the receiving node resolves by name; an anonymous fun would instead be bound to the exact module the installer loaded and would fail to apply on a node whose copy of this module differs.

identify(Identifier)

Identify trace.

is_membership_strategy_message(Type, Message)

perform_preloads(Nodes)

Perform preloads.

print()

Print trace.

replay(Type, Message)

Replay trace.

replay_debug(Line, Args)

reset()

Reset trace.

start_link()

Same as start_link([]).

start_link(Args)

Start and link to calling process.

stop()

trace(Type, Message)

Record trace message.