eventflow / EventFlow

Async/await first CQRS+ES and DDD framework for .NET
https://geteventflow.net
Other
2.37k stars 445 forks source link

Default value for Cost Threshold For Parallelism may give deadlocks #812

Open rasmus opened 3 years ago

rasmus commented 3 years ago

Deadlocks for MSSQL read models have been observed in production systems and a fix seems to be increasing the "Cost Threshold For Parallelism" in SQL Server.

Consider if EventFlow should log a warning upon initialization if the default value is set.

https://www.brentozar.com/archive/2017/03/why-cost-threshold-for-parallelism-shouldnt-be-set-to-5/

rasmus commented 2 years ago

This will properly need some sections in the documentation as well.

github-actions[bot] commented 1 year ago

Hello there!

We hope you are doing well. We noticed that this issue has not seen any activity in the past 90 days. We consider this issue to be stale and will be closing it within the next seven days.

If you still require assistance with this issue, please feel free to reopen it or create a new issue.

Thank you for your understanding and cooperation.

Best regards, EventFlow

github-actions[bot] commented 1 year ago

Hello there!

We hope you are doing well. We noticed that this issue has not seen any activity in the past 90 days. We consider this issue to be stale and will be closing it within the next seven days.

If you still require assistance with this issue, please feel free to reopen it or create a new issue.

Thank you for your understanding and cooperation.

Best regards, EventFlow