Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIXED] Number of subscriptions in /serverz endpoint is incorrect #820

Merged
merged 1 commit into from May 6, 2019

Commits on May 3, 2019

  1. [FIXED] Number of subscriptions in /serverz endpoint is incorrect

    The number of subscriptions was incorrectly increasing when a durable
    subscription was resumed.
    
    The proper behavior is as follows:
    - a durable is started for the first time, count increases
    - this durable is closed (but not unsubscribed), count unchanged
    - durable is unsubscribed, count decreases
    - a durable queue group is created, count increases
    - a member added, count increases
    - a member leaves, count decreases
    - the last member leaves (but group remains because durable), count
      is unchanged.
    - group is unsubscribed, count decreases.
    
    for non durable subscriptions (queue or not), when a subscription
    is created, count increases, when closed or unsubscribed, count
    decreases.
    
    Resolves #819
    
    Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
    kozlovic committed May 3, 2019
    Configuration menu
    Copy the full SHA
    7b9051a View commit details
    Browse the repository at this point in the history