-
Notifications
You must be signed in to change notification settings - Fork 207
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
[Miniflare 3] Re-implement R2 gateway and add support for multipart uploads using new storage system #565
Conversation
|
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.
LGTM with a few comments. A lot of the second commit appeared to be just replacing clock with timers, which would have been nice in a separate commit.
Nice work!
Closes DEVX-592
Closes DEVX-593
Rebasing... |
This PR builds on #555, and re-implements the R2 gateway using the new storage system. This was the last gateway we needed to migrate. 🙂 It also adds support for multipart uploads, similar to #486, but now with transactions provided by SQLite and the streaming support of the new blob store.
This is split into two commits, one for re-implementing what we had already with the new storage system, and one for extending that with multipart support. You may want to review the SQLite schema before everything else:
miniflare/packages/tre/src/plugins/r2/schemas.ts
Lines 4 to 71 in d6e2989
Closes DEVX-592 and DEVX-593