mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #14656] [CLOSED] Avoid duplicate ItemValues #14063
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/14656
Author: @evan314159
Created: 8/16/2025
Status: ❌ Closed
Base:
master← Head:avoid-duplicate-itemvalues📝 Commits (3)
5db6ce4Avoid duplicate ItemValues, BaseItems, BaseItemProvideers usingd111c16convert complex query to string concatenation3c38769Update Jellyfin.Server.Implementations/Item/BaseItemRepository.cs📊 Changes
1 file changed (+126 additions, -13 deletions)
View changed files
📝
Jellyfin.Server.Implementations/Item/BaseItemRepository.cs(+126 -13)📄 Description
Changes
Avoid duplicate ItemValues, BaseItem, BaseItemProviders with bulk INSERT ON CONFLICT using Polly, similar to Peoples.
Issues
Addresses occasional duplicate ItemValues, BaseItem, BaseItemProviders.
Note: EF Core will log duplicate key errors (x3 for command error retry), however they are followed by a log showing that Jellyfin rematched the records.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.