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

[POSSIBLE BUG] - Server or badger seems to freeze when consumer is rerun when using Topic Exchange #97

Closed
sujit-baniya opened this issue Oct 29, 2023 · 3 comments

Comments

@sujit-baniya
Copy link

When using topic exchange, the server freezes and doesn't respond.

Code example: https://gist.github.com/sujit-baniya/81894e8b0dc3b1c1f4934b0051e88414

Steps to reproduce:

  • Run server
  • Run consumer as go run receive.go "kern.*"
  • Emit payload as go run emit.go "kern.critical" "A critical kernel error"
  • Close the consumer using Ctrl + c
  • Rerun the consumer as go run receive.go "kern.*". Here it just freezes
@valinurovam
Copy link
Owner

Yes, I't is really an issue with deadlock when server delete queue.
If you create exclusive queue server tries to delete it when connection closed.

I will try to fix it soon.

@valinurovam
Copy link
Owner

Fix #99

@valinurovam
Copy link
Owner

Fixed, thank you for report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants