Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to recover leveldb queues if they fail to open #11284

Closed
guillep2k opened this issue May 3, 2020 · 1 comment · Fixed by #11285
Closed

Attempt to recover leveldb queues if they fail to open #11284

guillep2k opened this issue May 3, 2020 · 1 comment · Fixed by #11285
Labels
type/enhancement An improvement of existing functionality

Comments

@guillep2k
Copy link
Member

  • Gitea version (or commit ref):

Description

Apparently leveldb are pretty fragile when they are closed abruptly (e.g. kill -9). We should attempt to recover the database usinng the Recover() function from the leveldb API.

@guillep2k guillep2k added the type/enhancement An improvement of existing functionality label May 3, 2020
@zeripath
Copy link
Contributor

zeripath commented May 3, 2020

https://gitea.com/lunny/levelqueue/pulls/2

and once that's in we'll need to update the dependency in gitea proper.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type/enhancement An improvement of existing functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants