You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Frequently encountered a event bus reply timeout exception which looks suspicious as the UUID mentioned in the exception stacktrace is not even part of the cluster member list n Hazelcast logs.
Currently the Cluster Manager is not reacting to this event which essentially is leaving EventBus subscribers list with dangling references to removed UUIDs
jvm 1 | Members {size:1, ver:1} [
jvm 1 | Member [10.244.237.60]:5701 - 202d7784-d695-4d46-83ba-24541b6a2943 this
jvm 1 | ]
jvm 1 |
jvm 1 | 2022-12-16 12:12:18.265+0000 [] [vert.x-worker-thread-0] INFO com.hazelcast.core.LifecycleService - [10.244.237.60]:5701 [nimbus-v3] [4.2.4] [10.244.237.60]:5701 is STARTED
jvm 1 | 2022-12-16 12:12:18.265+0000 [] [vert.x-worker-thread-0] INFO i.v.s.c.h.HazelcastClusterManager - Local Member : 10.244.237.60
jvm 1 | 2022-12-16 12:12:18.265+0000 [] [vert.x-worker-thread-0] INFO i.v.s.c.h.HazelcastClusterManager - Local Member Node Id: 202d7784-d695-4d46-83ba-24541b6a2943
jvm 1 | 2022-12-16 12:12:18.295+0000 [] [vert.x-worker-thread-0] INFO i.v.s.c.h.HazelcastClusterManager - Join complete
jvm 1 | 2022-12-16 12:12:18.356+0000 [] [vert.x-eventloop-thread-0] INFO i.v.c.e.i.c.ClusteredEventBus - Starting EventBus with Cluster Address : 10.244.237.60 and nodeId :202d7784-d695-4d46-83ba-24541b6a2943
Fixesvert-x3#164
Hazelcast may change the member uuid if it goes out of the grid for a moment (e.g. if suspected to be unhealthy).
We can't use this identifier as Vert.x nodeId.
Instead, we create one and store it as a member attribute.
This has to happen before starting the member because in recent versions of Hazelcast, member attributes can no longer be updated.
As a consequence, users who rely on an existing Hazelcast instance will have to configure the attribute manually (breaking change, documented).
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
* Use fixed nodeId from HZ attributes config
Fixes#164
Hazelcast may change the member uuid if it goes out of the grid for a moment (e.g. if suspected to be unhealthy).
We can't use this identifier as Vert.x nodeId.
Instead, we create one and store it as a member attribute.
This has to happen before starting the member because in recent versions of Hazelcast, member attributes can no longer be updated.
As a consequence, users who rely on an existing Hazelcast instance will have to configure the attribute manually (breaking change, documented).
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
* Filter data-only members out of the nodes list
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
---------
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
Version
4.3.2
Context
Frequently encountered a event bus reply timeout exception which looks suspicious as the UUID mentioned in the exception stacktrace is not even part of the cluster member list n Hazelcast logs.
Upon debugging, it is dentified that when a member is too busy for a brief time, Hazelcast resets the UUID of the member
Reference hee:
https://github.com/hazelcast/hazelcast/blob/master/hazelcast/src/main/java/com/hazelcast/internal/cluster/impl/ClusterServiceImpl.java#L342
Currently the Cluster Manager is not reacting to this event which essentially is leaving EventBus subscribers list with dangling references to removed UUIDs
jvm 1 | Members {size:1, ver:1} [
jvm 1 | Member [10.244.237.60]:5701 - 202d7784-d695-4d46-83ba-24541b6a2943 this
jvm 1 | ]
jvm 1 |
jvm 1 | 2022-12-16 12:12:18.265+0000 [] [vert.x-worker-thread-0] INFO com.hazelcast.core.LifecycleService - [10.244.237.60]:5701 [nimbus-v3] [4.2.4] [10.244.237.60]:5701 is STARTED
jvm 1 | 2022-12-16 12:12:18.265+0000 [] [vert.x-worker-thread-0] INFO i.v.s.c.h.HazelcastClusterManager - Local Member : 10.244.237.60
jvm 1 | 2022-12-16 12:12:18.265+0000 [] [vert.x-worker-thread-0] INFO i.v.s.c.h.HazelcastClusterManager - Local Member Node Id: 202d7784-d695-4d46-83ba-24541b6a2943
jvm 1 | 2022-12-16 12:12:18.295+0000 [] [vert.x-worker-thread-0] INFO i.v.s.c.h.HazelcastClusterManager - Join complete
jvm 1 | 2022-12-16 12:12:18.356+0000 [] [vert.x-eventloop-thread-0] INFO i.v.c.e.i.c.ClusteredEventBus - Starting EventBus with Cluster Address : 10.244.237.60 and nodeId :202d7784-d695-4d46-83ba-24541b6a2943
jvm 1 | 2022-12-16 12:17:13.071+0000 [] [hz.happy_borg.cached.thread-8] WARN c.h.internal.cluster.ClusterService - [10.244.237.60]:5701 [nimbus-v3] [4.2.4] Resetting local member UUID. Previous: 202d7784-d695-4d46-83ba-24541b6a2943, new: e0a23b31-e32c-4ad1-9acc-d43d76c0dd01
jvm 1 | 2022-12-16 12:17:20.227+0000 [] [vert.x-worker-thread-2] INFO i.v.s.c.hazelcast.impl.SubsMapHelper - republishOwnSubs::
jvm 1 | 2022-12-16 12:17:20.227+0000 [] [vert.x-worker-thread-2] INFO i.v.s.c.hazelcast.impl.SubsMapHelper - republish for adress: 202d7784-d695-4d46-83ba-24541b6a2943
The text was updated successfully, but these errors were encountered: