Skip to content

Commit

Permalink
Incorporating PR bitwalker#128, as it does fix the problem during ant…
Browse files Browse the repository at this point in the history
…i-entropy execution.
  • Loading branch information
balena committed May 11, 2020
1 parent 4299968 commit 55ee480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/swarm/tracker/tracker.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1631,9 +1631,9 @@ defmodule Swarm.Tracker do
entry(name: rname, pid: rpid),
state
) do
GenStateMachine.cast({__MODULE__, remote_node}, {:untrack, rpid})
GenStateMachine.cast({__MODULE__, remote_node}, {:event, self(), state.clock, {:untrack, rpid}})
send(rpid, {:swarm, :die})
GenStateMachine.cast({__MODULE__, remote_node}, {:track, rname, lpid, lmeta})
GenStateMachine.cast({__MODULE__, remote_node}, {:event, self(), state.clock, {:track, rname, lpid, lmeta}})
state
end

Expand Down

0 comments on commit 55ee480

Please sign in to comment.