Uploaded image for project: 'ActiveMQ .Net'
  1. ActiveMQ .Net
  2. AMQNET-294

durable subscription message loss when master broker fails to slave

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 1.4.1
    • None
    • ActiveMQ
    • None
    • Windows 7 (client), Windows Server 2008 64-bit (server brokers run on), Sql Server 2008 (database)

    • Regression, Unit Test Broken

    Description

      We are seeing message loss on a durable subscription when using NMS ActiveMQ v1.4.1 and ActiveMQ v5.4.1.

      Please run the included NUnit test and watch the console output. When it says "Failover the broker now!" do as it says. About 75% of the time less than half of the expected 250 messages come through.

      Using version 1.1 of NMS the majority of the time the test passes. I have seen it fail only a few times with this earlier version, and when it does there are only a couple messages that don't come through.

      In the zip file will be the unit test, and a config directory containing the master and slave activemq configurations. We are using JDBC master/slave.

      Attachments

        1. NMSLogLocalFreshCannedActiveMQ542Broker.txt
          492 kB
          Mark Gellings
        2. NMSLog.txt
          491 kB
          Mark Gellings
        3. TimsTestRevisedSlightly.zip
          8 kB
          Mark Gellings
        4. DurableSubscriberFailoverTest.java
          11 kB
          Timothy A. Bish
        5. DurableConsumerTest.cs
          10 kB
          Timothy A. Bish
        6. Apache.NMS.Test (2).zip
          3.94 MB
          Mark Gellings
        7. Apache.NMS.Test.zip
          827 kB
          Mark Gellings

        Issue Links

          Activity

            People

              jgomes Jim Gomes
              magellings Mark Gellings
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: