Skip to content

Conversation

@OhMaley
Copy link
Collaborator

@OhMaley OhMaley commented Nov 24, 2022

Description

In order to avoid size measurement shift this PR introduce a new task that is reseting the measured size of files every 3 month so the storage analytics task will recompute them.

Misc. comments

Testing locally and very fast: 2ms on Barcelona database replica
Note: Setting the column 'sub_size' to 0 for submissions will tell the storage analytics to measure its size from the bucket instead of using the a stored value: https://github.com/codalab/codalab-competitions/blob/develop/codalab/apps/web/models.py#L1454

Checklist

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

@OhMaley OhMaley requested a review from Tthomas63 November 24, 2022 16:13
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.

1 participant