Skip to content

Storage and clean up #713

Open
Open

Description

@Didayolo

Implementing a storage quota and effectively managing capacity could be crucial for enhancing Codabench's scalability and ensuring long-term service availability in production.

Features

Improve storage management by not creating orphan files

Deleting files from the MinIO

@OhMaley: Add a button, in admin analytics page, to manually starts a script removing all orphans files.

Quota

We need to:

Light/archive mode after competition end

Option to clean competitions when there are completed. It would for instance keep only leaderboard submissions.

Automatic cleaning

  • Failed submissions, orphans datasets, useless benchmarks, etc. should be marked and cleaned automatically. Users could manually unmark the object to keep it (from the resources interface). Deleted object should be kept in a trash can for one month. This feature needs to be discussed.
  • Clean up old failed uploads #302 (schedule)

Monitoring and statistics

Per benchmark submission size limit

Migrate the CodaLab feature on Codabench. This may be less important once the quota feature is implemented.

Interface

@ihsaan-ullah

Improve resources interface

The interface for managing datasets, submissions and tasks could be improved. Indeed, improving the resources interface is also part of helping participants to manage their storage space.

As shown in the screenshot below, we can manage and remove submissions from the "resources" interface. However, we do not track what the benchmark on which the submission was made, so it is hard to know what we are removing.

Capture d’écran 2023-04-29 à 01 41 54

Some issues

Activity

  1. added
    Enhancement
    on Sep 29, 2022
  2. added
    Post-it
    P1
    on Apr 20, 2023
  3. ihsaan-ullah commented on May 28, 2023

    @ihsaan-ullah
    Collaborator

    @Didayolo

    Public datasets should have their own tab

    Is this only for public datasets (now datasets and programs) or also for submissions

    Right now we have these tabs:

    1. Submissions (shows my submissions and public submissions)
    2. Datasets and Programs (shows my datasets and public datasets) Note: datasets are everything except submissions
    3. Tasks
  4. Didayolo commented on May 30, 2023

    @Didayolo
    MemberAuthor

    @ihsaan-ullah

    I think my idea was about public datasets that you don't own. It should be either clearly indicated, either on a separated tab.

    EDIT: oh and the problem is that it could become cluttered by public datasets in the future when we have many users. As submissions can also be made public, maybe different tabs is not the good way to go. I see that in the "Tasks" tab, there is a "Show public tasks" option. Maybe we need the same option for datasets and submissions, so we can show/hide the public ones.

  5. Didayolo commented on Jun 1, 2023

    @Didayolo
    MemberAuthor

    Side remark on the resources interface, usernames could be clickable link to the profiles (when clicking on details in any tab):

    Capture d’écran 2023-06-01 à 12 57 07

    In the leaderboard, the clickable link is made in this way:

    <a href="{submission.slug_url}">{ submission.owner }</a>

    https://github.com/codalab/codabench/blob/ce98a1f49c9233119a2997721113a668f29f60af/src/static/riot/competitions/detail/leaderboards.tag#LL59C57-L59C113

  6. ihsaan-ullah commented on Jun 1, 2023

    @ihsaan-ullah
    Collaborator

    Side remark on the resources interface, usernames could be clickable link to the profiles (when clicking on details in any tab):

    Added this as one todo in the interface todos list

  7. Didayolo commented on Jun 1, 2023

    @Didayolo
    MemberAuthor

    I added the same TODO in the "job status" issue #744

  8. ihsaan-ullah commented on Jun 10, 2023

    @ihsaan-ullah
    Collaborator
    • Have an user interface to manage and delete submissions
    • Can we confirm that the submissions are in the "resources" interface even if you are not organizer of the benchmark?
    • Actually, submissions can't be removed if there are part of a benchmark (which makes sense... this needs discussion).
    • Be able to delete tasks when deleting a benchmark Task deletion #810

    @Didayolo I think these two issues under the Quota heading are solved in the Interface solved issues by #918

  9. Didayolo commented on Jun 13, 2023

    @Didayolo
    MemberAuthor
    • We need to check that objects are really deleted when removed from the resources interface.

    EDIT: it is not the case.

  10. Didayolo commented on Jun 13, 2023

    @Didayolo
    MemberAuthor

    Actually, submissions can't be removed if there are part of a benchmark (which makes sense... this needs discussion).

    About this point:

    • We don't want participants to be able to freely remove submissions because that could allow some sort of cheating
    • But if a participant have many big submissions and no storage left, what can he do? Some ideas: submissions could be counted on the quota of the competition organizer (instead of the participant) or not count in the quota at all.
  11. removed
    P1
    on Feb 6, 2026
  12. Didayolo commented on Mar 16, 2026

    @Didayolo
    MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementPost-it

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions