ActiveMQ .Net
  1. ActiveMQ .Net
  2. AMQNET-294

durable subscription message loss when master broker fails to slave

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Not a Problem
    • Affects Version/s: 1.4.1
    • Fix Version/s: None
    • Component/s: ActiveMQ
    • Labels:
      None
    • Environment:

      Windows 7 (client), Windows Server 2008 64-bit (server brokers run on), Sql Server 2008 (database)

    • Regression:
      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.

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

        Issue Links

          Activity

          Mark Gellings created issue -
          Mark Gellings made changes -
          Field Original Value New Value
          Attachment Apache.NMS.Test.zip [ 19902 ]
          Jeff Turner made changes -
          Project Import Fri Nov 26 23:01:40 EST 2010 [ 1290830500766 ]
          Mark Gellings made changes -
          Attachment Apache.NMS.Test (2).zip [ 12465054 ]
          Timothy Bish made changes -
          Attachment DurableConsumerTest.cs [ 12466021 ]
          Attachment DurableSubscriberFailoverTest.java [ 12466022 ]
          Mark Gellings made changes -
          Attachment TimsTestRevisedSlightly.zip [ 12466262 ]
          Mark Gellings made changes -
          Attachment NMSLog.txt [ 12466333 ]
          Mark Gellings made changes -
          Timothy Bish made changes -
          Link This issue is blocked by AMQ-3106 [ AMQ-3106 ]
          Gavin made changes -
          Assignee Jim Gomes [ semog ] Jim Gomes [ jgomes ]
          Timothy Bish made changes -
          Fix Version/s 1.5.0 [ 12315640 ]
          Jim Gomes made changes -
          Component/s ActiveMQ [ 12313906 ]
          Component/s NMS [ 12313908 ]
          Jim Gomes made changes -
          Link This issue is broken by AMQ-3106 [ AMQ-3106 ]
          Jim Gomes made changes -
          Link This issue is blocked by AMQ-3106 [ AMQ-3106 ]
          Timothy Bish made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Not A Problem [ 8 ]

            People

            • Assignee:
              Jim Gomes
              Reporter:
              Mark Gellings
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development