-
Notifications
You must be signed in to change notification settings - Fork 27
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
♻️ multipart upload chunks are scheduled a few at a time #4552
♻️ multipart upload chunks are scheduled a few at a time #4552
Conversation
packages/simcore-sdk/src/simcore_sdk/node_ports_common/file_io_utils.py
Outdated
Show resolved
Hide resolved
…ts-high-priority-retry
…GitHK/osparc-simcore-forked into pr-osparc-nodeports-high-priority-retry
Codecov Report
@@ Coverage Diff @@
## master #4552 +/- ##
========================================
+ Coverage 84.3% 85.8% +1.4%
========================================
Files 635 811 +176
Lines 30346 36257 +5911
Branches 776 532 -244
========================================
+ Hits 25608 31122 +5514
- Misses 4554 5007 +453
+ Partials 184 128 -56
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
A couple of suggestions
packages/simcore-sdk/src/simcore_sdk/node_ports_common/file_io_utils.py
Outdated
Show resolved
Hide resolved
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.
Cool thanks for this. Also where will you add the overall retry (see DK PR). I think it would also make sense to have it on top.
This one here should allow fail fast, but then the overall retry is also needed
packages/simcore-sdk/src/simcore_sdk/node_ports_common/file_io_utils.py
Outdated
Show resolved
Hide resolved
packages/simcore-sdk/src/simcore_sdk/node_ports_common/file_io_utils.py
Outdated
Show resolved
Hide resolved
I want this to go to production and see if it makes it better. I want to see if the change has any effect. Another solution to avoid this problem will be to used rclone, as you have already proposed. We can wait in adding the retry for a bit. I would still prefer to get away with a "low level" retry and not the retry of the entire file. |
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.
👍
…ts-high-priority-retry
Code Climate has analyzed commit ff143bf and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed!
|
What do these changes do?
Schedules less chunks to be uploaded wen running multipart uploads.
I would wait for this to be deployed and see if it improves before trying what is suggested there.
Related issue/s
How to test
DevOps Checklist