-
Notifications
You must be signed in to change notification settings - Fork 649
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
Worker restarts can cause extra ready messages in the distributor storage #978
Comments
Yeah, that's pretty much excactly what we've been seeing. Solution sounds good. We're doing a quick workaround for our most frequent scenario: deploy new version and restart all the workers. (We do this often in our TEST and STAGE environment) We simply clear the storage and control queue before restarting the workers. We do them all at the same time and let them finish their local work first. This makes sure no workers have anything in their input queue when they start up and they will not receive any work before the startup message has been processed by the distributor. We still can get out of sync if one a worker restarts, but we can live with that until the issue is fixed. |
Yes, at least this wont cause a constant buildup of messages but rather a On Wed, Feb 13, 2013 at 11:01 AM, Jan Ove Skogheim Olsen <
|
Yes, exactly. And that makes the issue non-critical in my humble opinion. |
@andreasohlund is this a must have for v4.1? |
No Sent from my iPhone On 25 jul 2013, at 02:56, John Simons notifications@github.com wrote:
|
This will likely be fixed as part of #1361 |
The worker session id concept will be needed for #978 as well |
Fixed as part of #1743 |
I'm trying to follow what was done to fix this issue (we are seeing it in our production environment) and I can't seem to find where it was actually fixed. We are running 4.4.x and we are still seeing extra entries in the storage queue after a worker node restarts. Has this actually been fixed or have I missed some configuration step? |
@JeffHenson, this is only fixed in the new distributor (https://www.nuget.org/packages/NServiceBus.Distributor.MSMQ/), which distributor are you using? |
@johnsimons I didn't know there was a new one so I'm still using the old one. I can't find any documentation on that package. Is there any configuration needed to use it other than adding it to my project? |
Hi @JeffHenson As usual we are a bit behind on the doco 😞 |
@johnsimons excellent, thanks! Using the new distributor code has fixed both of the issues we are seeing. |
This can happen for at least the following use cases:
Worker auto subscribing at start up
If a worker auto subscribes to it self at start up the following can happen
Worker restarts with messages in its input Q
The proposed solutions is:
The text was updated successfully, but these errors were encountered: