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
activitypub Add Chef package registry (#22554) 2023-02-06 09:49:21 +08:00
analyze Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
assetfs Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
auth Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
avatar Improve avatar uploading / resizing / compressing, remove Fomantic card module (#24653) 2023-05-13 20:59:11 +02:00
base Use a general Eval function for expressions in templates. (#23927) 2023-04-07 21:25:49 +08:00
cache Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
charset Update go tool dependencies, restructure lint targets (#24239) 2023-04-22 14:53:00 -04:00
container
context Fix install page context, make the install page tests really test (#24858) 2023-05-23 09:29:15 +08:00
csv Refactor locale number (#24134) 2023-04-17 11:37:23 +08:00
doctor
emoji
eventsource
generate
git Use `[git.config]` for reflog cleaning up (#24958) 2023-05-28 01:07:14 +00:00
gitgraph
graceful
hcaptcha Consume hcaptcha and pwn deps (#22610) 2023-01-29 09:49:51 -06:00
highlight
hostmatcher Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
html
httpcache Use standard HTTP library to serve files (#24693) 2023-05-13 16:04:57 +02:00
httplib
indexer
issue/template Allow issue templates to not render title (#22589) 2023-01-26 22:45:49 -06:00
json
label
lfs Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
log
markup Fix video width overflow in markdown, and other changes to match img (#24834) 2023-05-21 21:19:37 +00:00
mcaptcha
metrics include build info in Prometheus metrics (#22819) 2023-02-08 19:54:01 +02:00
migration Scoped labels (#22585) 2023-02-18 21:17:39 +02:00
mirror
nosql Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
notification Improve queue and logger context (#24924) 2023-05-26 07:31:55 +00:00
options Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
packages Add CRAN package registry (#22331) 2023-05-22 10:57:49 +08:00
paginator Use more specific test methods (#24265) 2023-04-22 17:56:27 -04:00
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 Update redis library to support redis v7 (#24114) 2023-04-13 18:41:04 -04:00
setting
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 Use a general approach to access custom/static/builtin assets (#24022) 2023-04-12 18:16:45 +08:00
sync Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
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
timeutil Fix incorrect webhook time and use relative-time to display it (#24477) 2023-05-03 19:53:43 -04:00
translation
turnstile
typesniffer
updatechecker Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
upload
uri Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
user
util Rewrite logger system (#24726) 2023-05-21 22:35:11 +00:00
validation
web
webhook