You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/doctor
zeripath 651fe4bb7d
Add doctor command for full GC of LFS (#21978)
The recent PR adding orphaned checks to the LFS storage is not
sufficient to completely GC LFS, as it is possible for LFSMetaObjects to
remain associated with repos but still need to be garbage collected.

Imagine a situation where a branch is uploaded containing LFS files but
that branch is later completely deleted. The LFSMetaObjects will remain
associated with the Repository but the Repository will no longer contain
any pointers to the object.

This PR adds a second doctor command to perform a full GC.

Signed-off-by: Andrew Thornton <art27@cantab.net>
2 years ago
..
authorizedkeys.go Implement FSFE REUSE for golang files (#21840) 2 years ago
breaking.go Implement FSFE REUSE for golang files (#21840) 2 years ago
checkOldArchives.go Implement FSFE REUSE for golang files (#21840) 2 years ago
dbconsistency.go Implement FSFE REUSE for golang files (#21840) 2 years ago
dbversion.go Support disabling database auto migration (#22053) 2 years ago
doctor.go Implement FSFE REUSE for golang files (#21840) 2 years ago
fix16961.go Implement FSFE REUSE for golang files (#21840) 2 years ago
fix16961_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
heads.go Implement FSFE REUSE for golang files (#21840) 2 years ago
lfs.go Add doctor command for full GC of LFS (#21978) 2 years ago
mergebase.go Implement FSFE REUSE for golang files (#21840) 2 years ago
misc.go Implement FSFE REUSE for golang files (#21840) 2 years ago
paths.go Implement FSFE REUSE for golang files (#21840) 2 years ago
storage.go Implement FSFE REUSE for golang files (#21840) 2 years ago
usertype.go Implement FSFE REUSE for golang files (#21840) 2 years ago