0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2025-01-12 15:24:51 +01:00
gitea/modules
wxiaoguang 84c8ab9fd1
Help to recover from corrupted levelqueue (#24912)
gitea.com experienced the corrupted LevelQueue bug again.

I think the problem is clear now: if the keys in LevelDB went
out-of-sync, the LevelQueue itself doesn't have the ability to recover,
eg:

* LevelQueue.Len() reports 100
* LevelQueue.LPop() reports ErrNotFound = errors.New("no key found")

So it needs to dive into the LevelDB to remove all keys to recover the
corrupted LevelQueue.

More comments are in TestCorruptedLevelQueue.
2023-05-29 10:52:32 +08:00
..
actions Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
activitypub
analyze
assetfs
auth
avatar Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
base
cache
charset
container
context Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00
csv
doctor Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
emoji
eventsource
generate
git Use [git.config] for reflog cleaning up (#24958) 2023-05-28 01:07:14 +00:00
gitgraph
graceful Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
issue/template
json
label
lfs Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
log Improve logger Pause handling (#24946) 2023-05-27 22:35:44 +02:00
markup
mcaptcha
metrics
migration
mirror Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
nosql
notification Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
options
packages Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
paginator
pprof
private Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
process Do not output "Trace" level logs from process manager by default (#24952) 2023-05-27 10:55:24 +00:00
proxy
proxyprotocol
public
queue Help to recover from corrupted levelqueue (#24912) 2023-05-29 10:52:32 +08:00
recaptcha
references
regexplru
repository Use the type RefName for all the needed places and fix pull mirror sync bugs (#24634) 2023-05-26 01:04:48 +00:00
secret
session
setting Remove meta tags theme-color and default-theme (#24960) 2023-05-28 22:33:17 +00:00
sitemap
ssh Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
storage
structs Add the ability to pin Issues (#24406) 2023-05-25 15:17:19 +02:00
svg
sync
system
templates Remove meta tags theme-color and default-theme (#24960) 2023-05-28 22:33:17 +00:00
test Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
testlogger Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
timeutil
translation
turnstile
typesniffer
updatechecker
upload
uri
user
util Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
validation
web Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00
webhook New webhook trigger for receiving Pull Request review requests (#24481) 2023-05-24 22:06:27 -04:00