-
Bug
-
Resolution: Done
-
Major
-
2.4.1, 2.5
-
None
The idea behind MuxChannel state transfer listeners is to trigger all state transfers together and have all or none result for all registered MuxChannels. As currently implemented underlying plumbing with will trigger each transfer under separate FLUSH. In order to have it done under one flush we have to do manual flushing in Multiplexer (startFlush/stopFlush) for these transfers T and we should retrofit FLUSH protocol not to trigger flushing for each GET_STATE from T. We have two options:
a) add requireFlush field in StateTransferInfo - that is then passed down with GET_STATE
- this requires changing signature of JChannel.getState
b) retrofit FLUSH to detect special handling of GET_STATE
- at state requester A we record that we requested GET_STATE and if another GET_STATE arrives from A while channel is already flushed do not trigger another flush
- is related to
-
JGRP-236 Combine join and state transfer
- Resolved