Skip to content

Conversation

@OhMaley
Copy link
Collaborator

@OhMaley OhMaley commented Jul 11, 2024

A brief description of the purpose of the changes contained in this PR.

This adds a button in the storage view to trigger, after confirmation, the deletion of orphan files in the storage. The list of orphan files are not computed during the process since it is time expensive. Instead is uses the last storage analytics results and its storage_inconsistency log file.

Issues this PR resolves

Related to issue #713

To do once merged

Copy and paste last storage_inconsistency files from /logs folder to /var/logs/ folder. Mind the 's' at the end of 'logs'.

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer

@OhMaley OhMaley self-assigned this Jul 18, 2024
@Didayolo Didayolo mentioned this pull request Jul 24, 2024
42 tasks
@Didayolo Didayolo assigned Didayolo and unassigned bbearce Jul 25, 2024
@Didayolo Didayolo changed the base branch from develop to orphan-files-deletion September 2, 2024 17:09
@Didayolo
Copy link
Member

Didayolo commented Sep 2, 2024

Merging into the branch codalab/orphan-files-deletion

@Didayolo Didayolo merged commit bf451a7 into codalab:orphan-files-deletion Sep 2, 2024
@Didayolo
Copy link
Member

Didayolo commented Sep 2, 2024

@OhMaley

EDIT: The problem was because I did not copy the logs.

This is required when deploying on prod? Only the first time?


When I refresh the "Analytics" page, I get this error message:

Capture d’écran 2024-09-02 à 19 17 24

I am not seeing related logs in the containers.

@Didayolo Didayolo mentioned this pull request Sep 2, 2024
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants