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

drain.sh cannot detect queue type on dual routing type addresses #97

Open
gaohoward opened this issue Dec 12, 2023 · 0 comments · May be fixed by #98
Open

drain.sh cannot detect queue type on dual routing type addresses #97

gaohoward opened this issue Dec 12, 2023 · 0 comments · May be fixed by #98
Assignees
Labels
bug Something isn't working

Comments

@gaohoward
Copy link
Collaborator

Describe the bug
The drain.sh cannot correctly detect the type of queue in an address of both multicast and anycast routing types.
It treated a queue on that address as a temp queue which result in the message count of that queue being ignored.

To Reproduce
Steps to reproduce the behavior:

  1. Deploy a broker with n replicas (n > 2)
  2. create an address newaddress of both routingTypes on last pod
  3. sending 100k messages to last broker pod on newaddress
  4. scaledown to (n-1) replicas
  5. during scaledown, observe the scaledown pod log, and it will logs that newaddress queue is a temp queue. The total message count to be scaledown is 0. This can prevent further retries and return successful even there are messages not migrated.

Platform (please complete the following information):

  • OS: [e.g. Fedora]
  • Version [e.g. 32]
  • CEKit version [e.g. 3.5.0]
  • Container build tool [e.g. podman]

Expected behavior
Optional, use if not obvious. A clear and concise description of what you expected to happen.

Screenshots
Optional, add screenshots to help explain your problem.

Additional context
Optional. Add any other context about the problem here.

@gaohoward gaohoward added the bug Something isn't working label Dec 12, 2023
gaohoward pushed a commit to gaohoward/activemq-artemis-broker-kubernetes-image that referenced this issue Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants