Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-491

Multiplexer should execute getState for all registered MuxChannel under one FLUSH phase

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.6
    • 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

            vblagoje Vladimir Blagojevic (Inactive)
            vblagoje Vladimir Blagojevic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: