Skip to content

Implement batch deletion for object storage (artifact) cleanup

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Implement batch deletion for object storage cleanup

Description

Use batch deletion to speed artifact deletion. (we see degraded performance under high load)

Currently, object deletion in our artifact storage system is performed one object at a time. The fog-aws library supports batch deletion through delete_multiple_objects, which would improve performance and efficiency of our cleanup processes for artifact deletion.

Current Status

Proposed Solution

  1. Implement batch deletion using delete_multiple_objects where supported (AWS/S3-compatible providers)
  2. Maintain fallback to single object deletion for unsupported providers
  3. Consider contributing batch deletion support to fog-google, but we may need to fall back on single delete given the # of object storage providers supported.

Technical Considerations

Next Steps

  1. Verify GitLab.com's object storage configuration
  2. Implement conditional batch deletion for supported providers
  3. Create separate issue for contributing batch deletion support to fog-google

Related Links


Description was generated using AI

Edited by 🤖 GitLab Bot 🤖