[PR #197] [MERGED] remove file on digest mismatch #72330

Closed
opened 2026-05-05 03:50:55 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/197
Author: @BruceMacD
Created: 7/24/2023
Status: Merged
Merged: 7/24/2023
Merged by: @BruceMacD

Base: mainHead: brucemacd/digest-mismatch


📝 Commits (1)

  • 5a5ca8e remove file on digest mismatch

📊 Changes

1 file changed (+15 additions, -2 deletions)

View changed files

📝 server/images.go (+15 -2)

📄 Description

ideally this never happens (the download resume should prevent this), but if there is a digest mismatch the specific blob should be removed rather than the user manually removing it

related to #170


🔄 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/ollama/ollama/pull/197 **Author:** [@BruceMacD](https://github.com/BruceMacD) **Created:** 7/24/2023 **Status:** ✅ Merged **Merged:** 7/24/2023 **Merged by:** [@BruceMacD](https://github.com/BruceMacD) **Base:** `main` ← **Head:** `brucemacd/digest-mismatch` --- ### 📝 Commits (1) - [`5a5ca8e`](https://github.com/ollama/ollama/commit/5a5ca8e7ff042842013cf7ad1462a5d6c705d39b) remove file on digest mismatch ### 📊 Changes **1 file changed** (+15 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `server/images.go` (+15 -2) </details> ### 📄 Description ideally this never happens (the download resume should prevent this), but if there is a digest mismatch the specific blob should be removed rather than the user manually removing it related to #170 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-05 03:50:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#72330