Uploaded image for project: 'SR for Bitbucket - Development'
  1. SR for Bitbucket - Development
  2. SRBITB-138

Cleanup dangling blobs from rejected pushes

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Done
    • High
    • Resolution: Rejected
    • None
    • None
    • None
    • None
    • 0

    Description

      If a push is rejected by a pre-receive hook the dangling blob is still left on the server till it becomes eligible for garbage collection and takes up unnecessary disk space until that happens.

      For example the max file size hook has this issue.

      We should have a scheduled job which performs the garbage collection periodically, at a time the admin sets. We will first need to work out the optimal way of doing this.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              amarkham Adam Markham
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: