From e0604e3af667763b0799332912edc58b84f0c6c2 Mon Sep 17 00:00:00 2001 From: Andrew Mayorov Date: Wed, 29 May 2024 16:08:14 +0200 Subject: [PATCH] fix(cluster-link): anticipate clients may occasionally retry --- apps/emqx_cluster_link/src/emqx_cluster_link.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/emqx_cluster_link/src/emqx_cluster_link.erl b/apps/emqx_cluster_link/src/emqx_cluster_link.erl index 2b469b114..a567fb6cc 100644 --- a/apps/emqx_cluster_link/src/emqx_cluster_link.erl +++ b/apps/emqx_cluster_link/src/emqx_cluster_link.erl @@ -215,7 +215,7 @@ get_actor_state(ClusterName, Actor) -> erlang:get(?PD_EXTROUTER_ACTOR_STATE). set_actor_state(ClusterName, Actor, ActorSt) -> - undefined = erlang:put(?PD_EXTROUTER_ACTOR, {ClusterName, Actor}), + _Undefined = erlang:put(?PD_EXTROUTER_ACTOR, {ClusterName, Actor}), update_actor_state(ActorSt). update_actor_state(ActorSt) ->