aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Item/ItemPersistenceService.cs
AgeCommit message (Collapse)Author
2026-07-29Fix playlist entries being lost on migration and library scansShadowghost
2026-07-23Allow duplicate LinkedChildren for PlaylistsShadowghost
2026-06-21Fix too many SQL variables in DeleteItem for large batch deletesJoshua M. Boniface
The FixIncorrectOwnerIdRelationships migration deletes all duplicate items in a single DeleteItemsUnsafeFast -> DeleteItem(ids) call. Inside DeleteItem, the owned-extras lookup used a raw HashSet.Contains, which EF inlines as one SQL variable per id and overflows SQLite's variable limit on large libraries. Use WhereOneOrMany so the id set is bound as a single json_each parameter, like the rest of the method, making bulk deletes work for unlimited library sizes.
2026-06-07Prefer local alternate versions when deduplicating linked childrenShadowghost
(cherry picked from commit 53f02a04ef7ff8f9d78c5f4e0924a0871b0e96fb)
2026-03-11Merge remote-tracking branch 'upstream/master' into perf-rebasedShadowghost
2026-03-07Fix batch delete of items with same userdata keysShadowghost
2026-03-07Split BaseItemRepository and IItemRepositoryShadowghost