Garbage Collection LFS Pointer deletes inuse LFS Objects #31271
Labels
issue/critical
This issue should be fixed ASAP. If it is a PR, the PR should be merged ASAP
topic/lfs
type/bug
Milestone
Description
Hallo Community,
i noticed that on my Gitea Platform all old LFS Files are lost. Currently i only have LFS files which are 3 days old. And 3 days ago i manually run the Garbage Collection for all repositories and Garbage Collection LFS pointers.
I now reproduced this issue with setting the config as follows for that task and uploaded some lfs files an hour ago.
All LFS Files are gone again. And the Log looks not to be conclusive at all...
The Admin pannel shows that the task was done at 12:11:43 and i see the gc_lfs but there is not more than that.
Gitea Version
1.21.11
Can you reproduce the bug on the Gitea demo site?
No
Log
Screenshots
No response
Git Version
2.42.0, Wire Protocol Version 2 Enabled
Operating System
Windows
How are you running Gitea?
Windows Server: gitea-1.21.11-gogit-windows-4.0-amd64
Database
MySQL/MariaDB
The text was updated successfully, but these errors were encountered: