[PR #15048] Fix stale UserData cache #14223

Open
opened 2026-02-07 07:26:28 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/15048
Author: @theguymadmax
Created: 10/20/2025
Status: 🔄 Open

Base: release-10.11.zHead: fix-cache-issue


📝 Commits (1)

📊 Changes

1 file changed (+12 additions, -4 deletions)

View changed files

📝 Emby.Server.Implementations/Library/UserDataManager.cs (+12 -4)

📄 Description

Changes

Check cache before reading item.UserData to fix stale data. Also caches empty results and removes nullable return type.

Issues

Fixes #14981

Fixes #15615


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/15048 **Author:** [@theguymadmax](https://github.com/theguymadmax) **Created:** 10/20/2025 **Status:** 🔄 Open **Base:** `release-10.11.z` ← **Head:** `fix-cache-issue` --- ### 📝 Commits (1) - [`d2df6ad`](https://github.com/jellyfin/jellyfin/commit/d2df6adc161d3f4a3804d19cd600a84f71b45778) Fix stale UserData cache ### 📊 Changes **1 file changed** (+12 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `Emby.Server.Implementations/Library/UserDataManager.cs` (+12 -4) </details> ### 📄 Description <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> Check cache before reading `item.UserData` to fix stale data. Also caches empty results and removes nullable return type. **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> Fixes #14981 Fixes #15615 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:26:28 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#14223