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

Add doctor command for full GC of LFS #21978

Merged
merged 16 commits into from
Dec 15, 2022
Merged

Commits on Nov 29, 2022

  1. Add doctor command for full GC of LFS

    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 <[email protected]>
    zeripath committed Nov 29, 2022
    Configuration menu
    Copy the full SHA
    bed6a51 View commit details
    Browse the repository at this point in the history

Commits on Nov 30, 2022

  1. Configuration menu
    Copy the full SHA
    3a3ac24 View commit details
    Browse the repository at this point in the history
  2. fix fmt

    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Nov 30, 2022
    Configuration menu
    Copy the full SHA
    cc31e60 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4130d88 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2022

  1. use IsObjectExist instead

    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Dec 3, 2022
    Configuration menu
    Copy the full SHA
    2d36bf7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    36e25fa View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2022

  1. Configuration menu
    Copy the full SHA
    24ae9d5 View commit details
    Browse the repository at this point in the history
  2. update date of header

    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Dec 4, 2022
    Configuration menu
    Copy the full SHA
    3b4deb6 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2022

  1. slight adjust select query

    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    8aea5a7 View commit details
    Browse the repository at this point in the history
  2. as per wolfogre

    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Dec 8, 2022
    Configuration menu
    Copy the full SHA
    4b5fc12 View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2022

  1. Configuration menu
    Copy the full SHA
    c9f992d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7f7288b View commit details
    Browse the repository at this point in the history
  3. add olderthan option

    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    16c082f View commit details
    Browse the repository at this point in the history
  4. add comment

    Signed-off-by: Andrew Thornton <[email protected]>
    zeripath committed Dec 14, 2022
    Configuration menu
    Copy the full SHA
    46a1a5e View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2022

  1. Configuration menu
    Copy the full SHA
    598d95f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f135557 View commit details
    Browse the repository at this point in the history