mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #15927] [CLOSED] Fix EF Core Cartesian Explosion and SQLite migration bugs #14468
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/15927
Author: @ZeusCraft10
Created: 1/2/2026
Status: ❌ Closed
Base:
master← Head:fix/ef-core-performance-and-schema📝 Commits (2)
60e649fFix Live TV audio by enforcing HLS spec compliance in Direct Play evaluationbc7fad5Fix EF Core Cartesian Explosion and SQLite migration bugs📊 Changes
5 files changed (+32 additions, -6 deletions)
View changed files
📝
CONTRIBUTORS.md(+1 -0)📝
Jellyfin.Server.Implementations/Item/BaseItemRepository.cs(+16 -3)📝
src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20250326065026_AddInheritedParentalRatingSubValue.cs(+1 -1)📝
src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20250327101120_AddKeyframeData.Designer.cs(+7 -1)📝
src/Jellyfin.Database/Jellyfin.Database.Providers.Sqlite/Migrations/20250327171413_AddHdr10PlusFlag.Designer.cs(+7 -1)📄 Description
Problem Description
This PR addresses Issue #15917 where loading TV shows with many episodes caused an EF Core Cartesian Explosion due to the default QuerySplittingBehavior.SingleQuery. It also resolves the SQLite schema error
o such column: u.MaxParentalAgeRating by fixing a migration bug and refreshing stale designer snapshots.
Proposed Changes
Verification
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.