Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-10985

Duplicate Redeliveries on causing negative counters on paging after failover with dead consumers

    Details

    • Steps to Reproduce:
      Hide

      There will be two committs on the hornetq 2.2.eap5 branch. One for the test, one for the fix.. you can revert the fix and see the issue happening.

      Show
      There will be two committs on the hornetq 2.2.eap5 branch. One for the test, one for the fix.. you can revert the fix and see the issue happening.
    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      <para>During a failover, if there was a dead subscription when a producer was sending messages non-transactionally, and a consumer was consuming messages transactionally, this may have resulted in duplicate messages being delivered as well as causing negative counters on the destinations. This issue was fixed by syncing the page and the journal-page-counters, as well as correcting the cursor position on a destination with multiple subscribers.</para>
      Show
      <para>During a failover, if there was a dead subscription when a producer was sending messages non-transactionally, and a consumer was consuming messages transactionally, this may have resulted in duplicate messages being delivered as well as causing negative counters on the destinations. This issue was fixed by syncing the page and the journal-page-counters, as well as correcting the cursor position on a destination with multiple subscribers.</para>
    • Release Notes Docs Status:
      Documented as Resolved Issue
    • Docs QE Status:
      NEW

      Description

      If you set a dead consumer on a destination,
      send messages non transactionally,
      and fail the

      Consume just one consumer transactionally...

      you could eventually have messages delivered in duplicate what will cause negative counters on these destinations, and of course having messages delivered in duplicate could be an issue.

      this is not an issue upstream (hornetQ 2.3 or 2.4 don't have this issue)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  clebert.suconic Clebert Suconic
                  Reporter:
                  clebert.suconic Clebert Suconic
                  Writer:
                  Lucas Costi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: