You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to publish multiple messages concurrently, I am getting following error:
Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
Below is Stacktrace for error:
System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
at System.Collections.Generic.HashSet1.AddIfNotPresent(T value, Int32& location) at Rebus.Idempotency.IdempotencyData.GetOrCreate(MessageId messageId) at Rebus.Idempotency.IdempotentMessageOutgoingStep.Process(OutgoingStepContext context, Func1 next)
at Rebus.Pipeline.Send.SendOutgoingMessageStep.Process(OutgoingStepContext context, Func1 next) at Rebus.Pipeline.Send.ValidateOutgoingMessageStep.Process(OutgoingStepContext context, Func1 next)
at Rebus.Pipeline.Send.SerializeOutgoingMessageStep.Process(OutgoingStepContext context, Func1 next) at Rebus.Retry.Simple.VerifyCannotSendFailedMessageWrapperStep.Process(OutgoingStepContext context, Func1 next)
at Rebus.Pipeline.Send.AutoHeadersOutgoingStep.Process(OutgoingStepContext context, Func1 next) at Rebus.Pipeline.Send.FlowCorrelationIdStep.Process(OutgoingStepContext context, Func1 next)
at Rebus.Pipeline.Send.AssignDefaultHeadersStep.Process(OutgoingStepContext context, Func1 next) at Rebus.ServiceProvider.ServiceProviderProviderStep.Process(OutgoingStepContext context, Func1 next)
at Rebus.Bus.RebusBus.SendUsingTransactionContext(IEnumerable1 destinationAddresses, Message logicalMessage, ITransactionContext transactionContext) at Rebus.Bus.RebusBus.InnerSend(IEnumerable1 destinationAddresses, Message logicalMessage)
at Rebus.Bus.RebusBus.InnerPublish(String topic, Object eventMessage, IDictionary`2 optionalHeaders)
While trying to publish multiple messages concurrently, I am getting following error:
Below is Stacktrace for error:
System.InvalidOperationException: Operations that change non-concurrent collections must have exclusive access. A concurrent update was performed on this collection and corrupted its state. The collection's state is no longer correct.
at System.Collections.Generic.HashSet
1.AddIfNotPresent(T value, Int32& location) at Rebus.Idempotency.IdempotencyData.GetOrCreate(MessageId messageId) at Rebus.Idempotency.IdempotentMessageOutgoingStep.Process(OutgoingStepContext context, Func
1 next)at Rebus.Pipeline.Send.SendOutgoingMessageStep.Process(OutgoingStepContext context, Func
1 next) at Rebus.Pipeline.Send.ValidateOutgoingMessageStep.Process(OutgoingStepContext context, Func
1 next)at Rebus.Pipeline.Send.SerializeOutgoingMessageStep.Process(OutgoingStepContext context, Func
1 next) at Rebus.Retry.Simple.VerifyCannotSendFailedMessageWrapperStep.Process(OutgoingStepContext context, Func
1 next)at Rebus.Pipeline.Send.AutoHeadersOutgoingStep.Process(OutgoingStepContext context, Func
1 next) at Rebus.Pipeline.Send.FlowCorrelationIdStep.Process(OutgoingStepContext context, Func
1 next)at Rebus.Pipeline.Send.AssignDefaultHeadersStep.Process(OutgoingStepContext context, Func
1 next) at Rebus.ServiceProvider.ServiceProviderProviderStep.Process(OutgoingStepContext context, Func
1 next)at Rebus.Bus.RebusBus.SendUsingTransactionContext(IEnumerable
1 destinationAddresses, Message logicalMessage, ITransactionContext transactionContext) at Rebus.Bus.RebusBus.InnerSend(IEnumerable
1 destinationAddresses, Message logicalMessage)at Rebus.Bus.RebusBus.InnerPublish(String topic, Object eventMessage, IDictionary`2 optionalHeaders)
Dotnet Framework Version: 8.0
Rebus: 8.4.3
Rebus.Idempotency: 2.3.0
Rebus.Idempotency.MySql: 2.2.0
Step to reproduce:
The text was updated successfully, but these errors were encountered: