-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Improve migration performance #169
Conversation
codingjoe
commented
May 5, 2024
- perform delete IO async
- create only newly added sizes
- delete only obsolete file sizes
- create sizes from an in-memory copy of the file
117b591
to
aae65ef
Compare
d5bb268
to
23ace56
Compare
23ace56
to
09db21a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #169 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 13 13
Lines 466 488 +22
=========================================
+ Hits 466 488 +22
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
* perform delete IO async * create only newly added sizes * delete only obsolete file sizes * create sizes from an in-memory copy of the file
09db21a
to
b9b5ce1
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.
Code-wise it looks good to me, however I did not test it. Not sure I'd manage testing before going offline for some time.