Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-1845

Message loss in network of brokers when network connection break

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 5.1.0
    • Fix Version/s: None
    • Component/s: Broker
    • Labels:
      None
    • Environment:

      Two brokers connected via TCP with one persistent distributed queue and a producer and a consumer on each broker.

      Description

      Producer on broker A send 2500 message on the distributed queue at broker A.
      Producer B starts to receive message from distributed queue on broker B.
      During the receiving process, the network between these two brokers down and later brought up again.

      In this senario, we found that some messages are lost.
      It seems the broker A are sending message to broker B when the network is down and these messages are removed from queue in broker A but never received by broker B which causing message loss.

      Is this a bug or a configuration problem?
      I thought the configuration like this is the store/forward pattern which should ensure the message reliability in an unstable network.

        Attachments

          Activity

            People

            • Assignee:
              gtully Gary Tully
              Reporter:
              silverhoof Bryan Shaw
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: