-
Notifications
You must be signed in to change notification settings - Fork 7
[s3inbox] store uploaded file size in db #1571
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
Conversation
11b0659
to
ff3cf70
Compare
ff3cf70
to
d3924ec
Compare
ab56a5f
to
eeef60e
Compare
Upload a file and directly check the object size.
eeef60e
to
e88d3b0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Only added some questions.
84e37c3
to
372caf1
Compare
372caf1
to
153fa67
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It worked well during my tests; however, I have two comments for potential improvement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything seems good, nice tests.
Related issue(s) and PR(s)
This PR closes #1482 .
This will be kept as a draft until #1543 is mergedDescription
This PA adds a function that stores the size of the uploaded file in the database (
submission_file_size
) upon completed upload. The size of the file is read from the S3 backend.3 test cases could be generated, 1 positive and 2 negative. The 4th test case (fastCheck) didn't go as planned but will be kept in order to catch any regression.
How to test