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

Calculating ExpiresAt in validation of lock status #4827

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

rmeshksar
Copy link
Contributor

The issue that this PR is fixing was discussed here:
#4821

Basically, if a message is published with delay in an Azure Service Bus queue, and that message gets expired and the main queue is configured to forward expired messages to another queue, MassTransit consumer of the second queue is not triggered,

It is in fact Azure Service Bus issue that uses the original expiry date when forwarding message rather than re-calculating it based on the new queue, and when MassTransit validates that date, it is in the past and it rejects processing it by throwing an error.

I will follow up the issue with Microsoft as I believe it is the correct fix for them but since it is in Azure Service Bus core, not sure how long it will take.

The values of TimeToLive and EnqueuedTime of the message are correct and expiry date can be correctly re-calculated.

Copy link

vercel bot commented Dec 11, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
masstransit-documentation ⬜️ Ignored (Inspect) Visit Preview Dec 11, 2023 6:29pm

@phatboyg
Copy link
Member

Has Microsoft fixed this year in their SDK?

@phatboyg phatboyg force-pushed the develop branch 2 times, most recently from 60c8d7d to 5e70659 Compare May 2, 2024 14:52
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

Successfully merging this pull request may close these issues.

None yet

2 participants