Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-4395

The default value "false" of "CLEAN_BLOB_UPLOAD_FOLDER" doesn't make sense

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • quay-v3.8.2, quay-v3.9.0
    • quay-v3.6.10, quay-v3.7.7, quay-v3.8.0
    • quay

      Description of problem:

      From quay 3.6.2,  quay added a new configuration CLEAN_BLOB_UPLOAD_FOLDER to  reduce S3 storage usage. 

      But the default value of CLEAN_BLOB_UPLOAD_FOLDER is always false.

       

      # cat /quay-registry/config.py
      .......
          # Automatically clean stale blobs leftover in the uploads storage folder from cancelled uploads
          CLEAN_BLOB_UPLOAD_FOLDER = False
      

      this behavior doesn't make sense from customer point of view. 

      If quay doesn't clean up temporary files under `uploads` folder by default, that means it is very possible for customer to pay more money for storage usage.  A lot of  important customers are money-sensitive,  so it doesn't make sense to set CLEAN_BLOB_UPLOAD_FOLDER as false by default.

       

              bcaton@redhat.com Brandon Caton
              rhwhu Weihua Hu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: