Qpid
  1. Qpid
  2. QPID-4290

ReplicatingSubscription counts as a consumer and doesn't allow auto-delete queues to be deleted

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19
    • Component/s: C++ Clustering
    • Labels:
      None

      Description

      If you create an auto-delete queue, the ReplicatingSubscription that backs it up is included in the Queue's consumerCount, so auto-deletion never occurs because consumerCount is always > 0. ReplicatingSubscriptions should not be counted as consumers so auto deletion can succeed.

      1. qpid-4290.patch
        3 kB
        Andy Goldstein

        Activity

        Hide
        Alan Conway added a comment -

        Committed on trunk:
        ------------------------------------------------------------------------
        r1386672 | aconway | 2012-09-17 11:52:07 -0400 (Mon, 17 Sep 2012) | 5 lines

        QPID-4290: HA auto-delete queues are not deleted (Author: Andy Goldstein)

        ReplicatingSubscription was being counted as a consumer and preventing
        auto-delete queues from being deleted.

        ------------------------------------------------------------------------

        Show
        Alan Conway added a comment - Committed on trunk: ------------------------------------------------------------------------ r1386672 | aconway | 2012-09-17 11:52:07 -0400 (Mon, 17 Sep 2012) | 5 lines QPID-4290 : HA auto-delete queues are not deleted (Author: Andy Goldstein) ReplicatingSubscription was being counted as a consumer and preventing auto-delete queues from being deleted. ------------------------------------------------------------------------
        Hide
        Andy Goldstein added a comment -

        Diff against 0.18

        Show
        Andy Goldstein added a comment - Diff against 0.18

          People

          • Assignee:
            Alan Conway
            Reporter:
            Andy Goldstein
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development