]
Vladimir Blagojevic resolved JGRP-236.
--------------------------------------
Resolution: Done
Change set:
org/jgroups/protocols/FD_SOCK.java 1.66
org/jgroups/protocols/TUNNEL.java 1.44
org/jgroups/protocols/Discovery.java 1.32
org/jgroups/protocols/LOOPBACK.java 1.25
org/jgroups/protocols/TP.java 1.150
org/jgroups/protocols/pbcast/FLUSH.java 1.62
org/jgroups/protocols/pbcast/ParticipantGmsImpl.java 1.26
org/jgroups/protocols/pbcast/GMS.java 1.110
org/jgroups/protocols/pbcast/STREAMING_STATE_TRANSFER.java 1.49
org/jgroups/protocols/pbcast/ClientGmsImpl.java 1.50
org/jgroups/protocols/pbcast/CoordGmsImpl.java 1.70
org/jgroups/protocols/pbcast/STATE_TRANSFER.java 1.72
org/jgroups/protocols/pbcast/GmsImpl.java 1.24
org/jgroups/stack/ProtocolStack.java 1.50
org/jgroups/stack/StateTransferInfo.java 1.14
org/jgroups/Event.java 1.47
org/jgroups/JChannel.java 1.141
org/jgroups/demos/Draw.java 1.46
Combine join and state transfer
-------------------------------
Key: JGRP-236
URL:
http://jira.jboss.com/jira/browse/JGRP-236
Project: JGroups
Issue Type: Feature Request
Affects Versions: 2.2.8, 2.2.9, 2.3, 2.2.9.1, 2.2.9.2
Reporter: Bela Ban
Assigned To: Vladimir Blagojevic
Fix For: 2.6
Add an additional connect(String group_name, boolean fetch_state, String state_id) method
to Channel, so that we can combine joining and state transfer into 1 operation. This also
requires only 1 FLUSH phase.
The state would be returned either via pulling with Channel.receive() or pushing the
setState() method in a registered Receiver/MessageListener.
- The JOIN_REQ contains the boolean
- The algorithm in GMS is the same as the two described above, except that before
multicasting the new view and sending
the JOIN_RSPs and LEAVE_RSPs, we ask the application for its state (GET_APPLSTATE) and
when received (GET_APPLSTATE_OK),
we send it back to the joining member(s), and the RESUME sending messages
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: