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

RELAY2: provide FIFO ordering for relayed messages

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 3.3
    • None
    • None
    • 0
    • 0% 0%

    Description

      When relaying messages between (1) a local member and local coordinator (SiteMaster) and (2) between the SiteMaster of one site and the SiteMaster of a remote site, messages are by default FIFO-ordered as we're sending them on a JGroups channel.
      However, when the target (coordinator or remote SiteMaster) changes, we need to replay unacked messages. If new messages are sent in parallel to the resending of unacked messages, ordering is undefined.

      Investigate whether (a) ordering is needed (main consumer is Infinispan, so this is certainly not necessary for async repl, but may be needed for sync repl) and (b) how this should get implemented. Re (b): perhaps we can copy the queueing design from SEQUENCER (refactor the code into a separate class, used by both SEQUENCER and FORWARD_TO_COORD).

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-bban Bela Ban
              rhn-engineering-bban Bela Ban
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: