Skip to content

Investigate erlang:disconnect_node vs erlang:halt vagaries... #1

@darach

Description

@darach

Testing with various combinations of causing and healing netsplits via erlang:disconnect_node/1
can produce divergent states or a dq (locks_leader) process dying. These issues do not occur at all
when a different testing strategy (erlang:halt) is used.

erlang:halt is used in the locks tests.
erlang:disconnect_node is used in riak_test.

Is erlang:disconnect_node/1 reasonable or are there underlying issues with dq, or deeper
still with locks or net_kernel ...

Credit to @Licenser for discovering one of the symptoms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions