-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Labels
Description
How to reproduce
(Partisan v5.0.0 master)
- Start two partisan nodes using
rebar3 shell - Get the PidRef for the Erlang shell on node 2 e.g.
1>partisan:self().
<<"partisan:pid:7afd3d56-9db2-11ed-a4e9-cfb72250f517@127.0.0.1:0.270.0">>- Send a message with a causal label that has not been defined in the Partisan configuration
1>partisan:forward_message(<<"partisan:pid:7afd3d56-9db2-11ed-a4e9-cfb72250f517@127.0.0.1:0.270.0">>, hello, #{causal_label => foo}).Result
2023-01-26T19:51:19.447404+00:00 gen_server.erl:949 error: ** Generic server partisan_pluggable_peer_service_manager terminating
...
** Reason for termination ==
** {{noproc,
{gen_server,call,
[partisan_causality_backend_foo,
{emit,'7afd3d56-9db2-11ed-a4e9-cfb72250f517@127.0.0.1',
{encoded_pid,"<0.270.0>"},
{'$partisan_padded',undefined,hello}},
infinity]}},
[{gen_server,call,3,[{file,"gen_server.erl"},{line,247}]},
{partisan_pluggable_peer_service_manager,handle_cast,2,
[{file,
"/Volumes/Work/Lasp/partisan/src/partisan_pluggable_peer_service_manager.erl"},
{line,1014}]},