Closed MortenChristiansen closed 5 years ago
Wow, I didn't know that could happen.
While I would definitely have wished that the Azure Service Bus driver handled this internally somehow, I would say that Rebus (i.e. the Azure Service Bus transport) should handle that and automatically retry the operation.
Stay tuned π
I've pushed Rebus.AzureServiceBus 7.0.0-a02 that should fix this π
I couldn't reproduce the concurrency issues demonstrated here though, so I assumed that a ServiceBusException
would be thrown with IsTransient == true
.
If this is not the case, then it will not work π in that case, please report back here, and then I'll make the necessary adjustments.
Thanks for reporting this issue! π
Right now we can't reproduce the error, so I assume the problem is solved. I'll let you know if we trigger it again.
We get a
Microsoft.Azure.ServiceBus.ServiceBusException
with the message "Another update request is in progress for the entity X" when trying to register subscriptions for the same events in multiple websites. We are running multiple instances of our web service so they run the same initialization code. Is this a problem that Rebus should deal with or must we coordinate between our instances to figure out which one registers the handlers... or something else entirely?