Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added handling of FIND_INITIAL_MBRS in Discovery.up() [used by the tr…

…ansport]
  • Loading branch information...
commit 332aee28847926f27c42ab13b8e3ecb58c322763 1 parent dbf8c20
@belaban authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/org/jgroups/protocols/Discovery.java
View
6 src/org/jgroups/protocols/Discovery.java
@@ -358,7 +358,7 @@ public Object up(Event evt) {
if(logical_addr != null && physical_addr != null)
down(new Event(Event.SET_PHYSICAL_ADDRESS, new Tuple<Address,PhysicalAddress>(logical_addr, physical_addr)));
if(logical_addr != null && data.getLogicalName() != null)
- UUID.add((UUID)logical_addr, data.getLogicalName());
+ UUID.add(logical_addr, data.getLogicalName());
if(log.isTraceEnabled())
log.trace("received GET_MBRS_RSP from " + response_sender + ": " + data);
@@ -392,6 +392,10 @@ public Object up(Event evt) {
log.error("failed sending discovery request", ex);
}
return null;
+
+
+ case Event.FIND_INITIAL_MBRS: // sent by transport
+ return findInitialMembers(null);
}
return up_prot.up(evt);
Please sign in to comment.
Something went wrong with that request. Please try again.