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

2514: Add row version to packages table to detect concurrency conflic… #3412

Closed
wants to merge 1 commit into from

Conversation

chenriksson
Copy link
Member

Fixes issue #2514 by adding a timestamp column to the packages table to prevent concurrent IsLatest updates for packages in the same registration.

Manually tested with multiple sessions using the debugger. Functional test with real EF context may be possible, but I'm still figuring out how to run these at the moment. :-)

@dnfclas
Copy link

dnfclas commented Dec 9, 2016

Hi @chenriksson, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.

TTYL, DNFBOT;

@chenriksson
Copy link
Member Author

Opened prematurely; I believe I have more work to handle the exception and test other endpoints...

PackagesController: Delete, Edit/UpdateListed
ApiController: CreatePackageInternal, DeletePackage, PublishPackage

@chenriksson chenriksson deleted the chenriks/2514 branch February 9, 2017 16:41
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

Successfully merging this pull request may close these issues.

2 participants