Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Ms SQL shoud throw OptimisticConcurrencyException on read model insert conflict #764
Conversation
3ff0910
to
4483b2f
Another option could be to implement retry directly in MsSQLReadStore, but we will lose ability to use RetryPolicies (or will really-really complicate MsSQLReadStore) |
If you have a 1-to-1 relationship between your read model and your aggregate, you could try the |
Thanks, that's interesting. It's +1 to this implementation (not retrying inside MsSQLReadStore). |
@frankebersoll is this still relevant after you merged #768? |
I think it's still relevant. |
@rasmus ? |
Still relevant, haven't had the time to give it a go yet though |
If we got unique constraint violation on inserting read model it probably another thread already inserted read model and we need to start update again.