Files
jellyfin/Jellyfin.Server.Implementations
Joshua M. Boniface 069eb40ebf Fix too many SQL variables in DeleteItem for large batch deletes
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-21 23:03:45 -04:00
..
2026-05-21 20:48:41 +02:00
2025-03-25 15:30:22 +00:00
2026-05-21 20:48:41 +02:00
2026-05-14 07:42:50 +02:00
2026-05-21 20:48:41 +02:00
2026-03-24 22:31:17 -04:00