Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Concurrency conflicts for download counter not detected using SQLite #724

Open
appel1 opened this issue Feb 8, 2022 · 0 comments
Open

Comments

@appel1
Copy link

appel1 commented Feb 8, 2022

Was looking at #716 and couldn't reproduce the issue using an SQLite db. I'm not sure, but I think the EF SQLite implementation does not update the specified rowVersion column automatically. You have to add a trigger that updates it yourself in a migration.

To reproduce download a package and check the RowVersion column in the db. It is still the default value, null.

Simulating a concurrency conflict does not trigger a DbUpdateConcurrencyException either.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant