[PR #5563] [MERGED] fix indexer reindex bug when gitea restart #17844

Closed
opened 2025-11-02 16:12:51 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/5563
Author: @lunny
Created: 12/19/2018
Status: Merged
Merged: 12/19/2018
Merged by: @lunny

Base: masterHead: lunny/fix_issue_indexer


📝 Commits (2)

  • a445905 fix issue indexer bug reindex when restart gitea
  • 062e0ca also fix code indexer reindex when gitea restart

📊 Changes

2 files changed (+19 additions, -8 deletions)

View changed files

📝 modules/indexer/issue.go (+10 -4)
📝 modules/indexer/repo.go (+9 -4)

📄 Description

Caused by #3452 and will fix #5325.
On #3452, we add an index version checking on metajson file, but forgot to save it on the file when create a new indexer directory. :(


🔄 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/go-gitea/gitea/pull/5563 **Author:** [@lunny](https://github.com/lunny) **Created:** 12/19/2018 **Status:** ✅ Merged **Merged:** 12/19/2018 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `lunny/fix_issue_indexer` --- ### 📝 Commits (2) - [`a445905`](https://github.com/go-gitea/gitea/commit/a445905dbe10783aa2b263f80ad07c07f69ef092) fix issue indexer bug reindex when restart gitea - [`062e0ca`](https://github.com/go-gitea/gitea/commit/062e0cae8a01031c09919d5a9eb48f676e3f4603) also fix code indexer reindex when gitea restart ### 📊 Changes **2 files changed** (+19 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `modules/indexer/issue.go` (+10 -4) 📝 `modules/indexer/repo.go` (+9 -4) </details> ### 📄 Description Caused by #3452 and will fix #5325. On #3452, we add an index version checking on metajson file, but forgot to save it on the file when create a new indexer directory. :( --- <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 2025-11-02 16:12:51 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#17844