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

[release/9.0] Don't throw on non-transactional migration operation warning. #34830

Open
wants to merge 1 commit into
base: release/9.0
Choose a base branch
from

Conversation

AndriySvyryd
Copy link
Member

@AndriySvyryd AndriySvyryd commented Oct 4, 2024

Fixes #34829

Description

In EF Core 9 we introduced a warning exception when a migration is applied, it contains more than one operation and one of them can't be executed in a transaction. However, we found that there are some non-transactional operations on SQL Server that cannot be separated into several migrations. So we decided to downgrade this to a logged warning.

Customer impact

Exception thrown when applying a migration in the above scenario.

How found

App writing.

Regression

No, new feature

Testing

Tested manually.

Risk

Low.

@artl93
Copy link
Member

artl93 commented Oct 4, 2024

Does this require documentation updates?

@AndriySvyryd
Copy link
Member Author

Does this require documentation updates?

No. We haven't written documentation for this yet 😄

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

Successfully merging this pull request may close these issues.

3 participants