Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creation of task #3289

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

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

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.

None yet

1 participant