Concurrency Check issue with EF Core 8 (Regression from 6)
Posted by: Ryan Kelly
Date: July 31, 2024 10:05AM

I have been working on porting an EF implementation over to EF Core, I noticed that a fairly important use case for us, Concurrency Checking, wasn't working as expected, the underlying value had not changed but it stopped returning the expected concurrency error that our application depends heavily upon.

Having dug into this I've created what I feel to be a really minimal reproduction of the issue which follows

https://github.com/rtkelly13/MySQLEFConcurrencyBug

By adapting and simplifying the current Concurrency test in the MySQL repository. Hopefully my reproduction of both the behaviour on 6 and 8 will help identify the issue.
I hadn't got far enough to copy the source and attempt to compile it myself, I managed to debug the EF Core code up to the MySQL layer using Rider

Tested on the mysql:8.0 docker image running locally.

Options: ReplyQuote


Subject
Written By
Posted
Concurrency Check issue with EF Core 8 (Regression from 6)
July 31, 2024 10:05AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.