Internal server error when elastic is not available #6650

Closed
opened 2025-11-02 07:02:31 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @lafriks on GitHub (Jan 7, 2021).

Currently if code and issues are indexed to elastic and elasticsearch server is not available it should:

  • pause indexers (code and issue) and keep not indexed items in queue until elastic is again available otherwise index get's out of sync with database/code
  • not show 500 error when searching but some more user readable error about functionality currently not available
Originally created by @lafriks on GitHub (Jan 7, 2021). Currently if code and issues are indexed to elastic and elasticsearch server is not available it should: * [ ] pause indexers (code and issue) and keep not indexed items in queue until elastic is again available otherwise index get's out of sync with database/code * [ ] not show 500 error when searching but some more user readable error about functionality currently not available
GiteaMirror added the type/enhancement label 2025-11-02 07:02:31 -06:00
Author
Owner

@wxiaoguang commented on GitHub (May 9, 2023):

I guess it should have been fixed. The newly written queue can push the failed items back to the queue.

@wxiaoguang commented on GitHub (May 9, 2023): I guess it should have been fixed. The newly written queue can push the failed items back to the queue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6650