[PR #13809] [MERGED] Library.db migration impovements #13717

Closed
opened 2026-02-07 07:17:57 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/13809
Author: @JPVenson
Created: 3/30/2025
Status: Merged
Merged: 3/31/2025
Merged by: @crobibero

Base: masterHead: feature/fasterMigrationWithoutCache


📝 Commits (8)

  • 216b0a3 Fixes cleanup of wrong table in migration
  • f523113 use dedicated context for each step
  • 17e26c2 Use prepared Context
  • 498f564 Fix measurement of UserData migration time
  • 46c27ec Update logging and combine cleanup to its own stage
  • 50d38f2 Merge remote-tracking branch 'jellyfinorigin/master' into feature/fasterMigrationWithoutCache
  • 8881658 fix people map not logging
  • 32a0f65 Add id blacklisting in migration to avoid duplicated log entires

📊 Changes

1 file changed (+306 additions, -197 deletions)

View changed files

📝 Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs (+306 -197)

📄 Description

Improve speed and verbosity of library.db migration
Fix cleanup of wrong table in migration


🔄 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/13809 **Author:** [@JPVenson](https://github.com/JPVenson) **Created:** 3/30/2025 **Status:** ✅ Merged **Merged:** 3/31/2025 **Merged by:** [@crobibero](https://github.com/crobibero) **Base:** `master` ← **Head:** `feature/fasterMigrationWithoutCache` --- ### 📝 Commits (8) - [`216b0a3`](https://github.com/jellyfin/jellyfin/commit/216b0a394a23ac3027a2b2c57ee5f8aee3d7ac4e) Fixes cleanup of wrong table in migration - [`f523113`](https://github.com/jellyfin/jellyfin/commit/f52311342f0cbd8aab0f5cd35422bfac01b5017f) use dedicated context for each step - [`17e26c2`](https://github.com/jellyfin/jellyfin/commit/17e26c21c546f1f80d565ab9e7e93e7bfa4302b6) Use prepared Context - [`498f564`](https://github.com/jellyfin/jellyfin/commit/498f564532d70cefe5982dda60e86424ae920a16) Fix measurement of UserData migration time - [`46c27ec`](https://github.com/jellyfin/jellyfin/commit/46c27ecc196fb81e4b06146e9e6ff9183ed039bb) Update logging and combine cleanup to its own stage - [`50d38f2`](https://github.com/jellyfin/jellyfin/commit/50d38f22336902589614302379a9b317a74800c8) Merge remote-tracking branch 'jellyfinorigin/master' into feature/fasterMigrationWithoutCache - [`8881658`](https://github.com/jellyfin/jellyfin/commit/888165831ed6977a303a7c717b043450e7c6d4e9) fix people map not logging - [`32a0f65`](https://github.com/jellyfin/jellyfin/commit/32a0f6573fe11e3b72f6e6559847dc4dba2dfc9c) Add id blacklisting in migration to avoid duplicated log entires ### 📊 Changes **1 file changed** (+306 additions, -197 deletions) <details> <summary>View changed files</summary> 📝 `Jellyfin.Server/Migrations/Routines/MigrateLibraryDb.cs` (+306 -197) </details> ### 📄 Description Improve speed and verbosity of library.db migration Fix cleanup of wrong table in migration --- <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:17:57 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13717