From e674df6556de845d5f0203fa0932e46a9997751d Mon Sep 17 00:00:00 2001 From: Bela Ban Date: Fri, 18 Aug 2023 11:53:21 +0200 Subject: [PATCH] - Fetch the topology in sitesUp() --- src/org/jgroups/protocols/relay/RELAY3.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/org/jgroups/protocols/relay/RELAY3.java b/src/org/jgroups/protocols/relay/RELAY3.java index 8597738f9b..adbe2e9f04 100644 --- a/src/org/jgroups/protocols/relay/RELAY3.java +++ b/src/org/jgroups/protocols/relay/RELAY3.java @@ -256,6 +256,12 @@ protected boolean handleAdminMessage(RelayHeader hdr, Message msg) { Set tmp=site_status.add(tmp_sites, status); if(status == Status.down) topo.removeAll(tmp_sites); + else { + if(topo.globalViews()) { + for(String s : tmp_sites) + topo.refresh(s, true); + } + } if(route_status_listener != null && !tmp.isEmpty()) { String[] t=tmp.toArray(new String[]{}); if(hdr.type == SITES_UP)