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

Fix bug identified in diagnosis of production incident #727

Merged
merged 4 commits into from
Jul 3, 2020
Merged

Fix bug identified in diagnosis of production incident #727

merged 4 commits into from
Jul 3, 2020

Conversation

shaynevanasperen
Copy link
Contributor

  • Log when we don't have a matching handler for the given message type.
  • If two consumers are subscribed to a queue that has multiple message types in it, one of them may not be able to handle all the messages (each handled a subset). So we need to return the message to the queue for the other subscriber to try handling it.

* Log when we don't have a matching handler for the given message type.
* If two consumers are subscribed to a queue that has multiple message types in it, one of them may not be able to handle all the messages (each handled a subset). So we need to return the message to the queue for the other subscriber to try handling it.
@shaynevanasperen shaynevanasperen requested a review from a team as a code owner July 2, 2020 15:57
@ghost ghost removed their request for review July 2, 2020 15:58
Copy link
Member

@martincostello martincostello left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JustSaying/AwsTools/MessageHandling/MessageDispatcher.cs Outdated Show resolved Hide resolved
@shaynevanasperen
Copy link
Contributor Author

@martincostello

Needs a version bump for the v6 branch:

Thanks. Done 👍

@martincostello martincostello added this to the v6.0.3 milestone Jul 2, 2020
@martincostello
Copy link
Member

Also need to make sure we don't forget to put this fix into the default branch as well.

Copy link
Contributor

@maurofranchi maurofranchi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting bug

@slang25
Copy link
Member

slang25 commented Jul 2, 2020

Apparently I closed this! That's news to me

…ed handler, and make log assertion in unit tests less strict
@slang25 slang25 merged commit 04b6dd2 into justeattakeaway:rel/v6 Jul 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants