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

Fix beatmap importing entering a bad state #2665

merged 17 commits into from May 31, 2018


Copy link
Sponsor Member

@peppy peppy commented May 28, 2018

Previously a single failed import would cause all further imports to fail.

This doesn't fix the remaining known cause of imports failing, which will be addressed in a separate PR. Adds back transaction support, with accompanying EF updates to support transactions correctly.

Note that I had to restructure transactions a bit as EF doesn't allow nested transactions. Now there is a write context which becomes transaction "leader" which is performing the commit.

Partly addresses #2236

@peppy peppy added realm deals with local realm database import labels May 28, 2018
@peppy peppy added this to the May 2018 milestone May 29, 2018
@peppy peppy removed this from the May 2018 milestone May 30, 2018
Copy link

@smoogipoo smoogipoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me.

@smoogipoo smoogipoo merged commit 3fc2bfd into ppy:master May 31, 2018
@peppy peppy deleted the import-fixes branch June 21, 2018 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
realm deals with local realm database
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants