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

        Andy Goldstein created issue -
        Hide
        Andy Goldstein added a comment -

        Diff against 0.18

        Show
        Andy Goldstein added a comment - Diff against 0.18
        Andy Goldstein made changes -
        Field Original Value New Value
        Attachment qpid-4290.patch [ 12544216 ]
        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. ------------------------------------------------------------------------
        Alan Conway made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 0.19 [ 12322452 ]
        Resolution Fixed [ 1 ]
        Justin Ross made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        10d 1h 52m 1 Alan Conway 17/Sep/12 16:53
        Resolved Resolved Closed Closed
        315d 2h 59m 1 Justin Ross 29/Jul/13 19:52

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development