-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
refactor: Completely remove Blockstore #34739
refactor: Completely remove Blockstore #34739
Conversation
b05b57d
to
e4aea09
Compare
# In the future, we need a way to use file_wrapper.chunks() to read | ||
# the file in chunks and stream that to Blockstore, but Blockstore | ||
# currently lacks an API for streaming file uploads. | ||
# Ref: https://github.com/openedx/edx-platform/issues/34737 |
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.
We'll still need some kind of base checking to make sure it's not over our size limit, and we'll probably want to support streaming at some point.
8e2b40c
to
ba152fc
Compare
ba152fc
to
752ce32
Compare
Commit generated by workflow `kdmccormick/edx-platform/.github/workflows/compile-python-requirements.yml@refs/heads/master` Co-authored-by: Kyle McCormick <[email protected]>
752ce32
to
e0037b3
Compare
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
2U Release Notice: This PR has been deployed to the edX production environment. |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
2U Release Notice: This PR has been deployed to the edX production environment. |
Blockstore was completely removed from edx-platform in: openedx/edx-platform#34739 As a follow-on to that work, this commit removes the entirety of two blockstore-related plugins (tutor-contrib-blockstore-filesystem and tutor-contrib-blockstore-minio), as well as the blockstore configuration present in tutor-contrib-library-authoring-mfe.
Blockstore was completely removed from edx-platform in: openedx/edx-platform#34739 As a follow-on to that work, this commit removes the entirety of two blockstore-related plugins (tutor-contrib-blockstore-filesystem and tutor-contrib-blockstore-minio), as well most blockstore references present in tutor-contrib-library-authoring-mfe. The BLOCKSTORE_COLLECTION_UUID configuration value was left in place because it's expected by the Library Authoring MFE and currently required by the Django view that creates Libraries (even though the value is never used). We will remove those references in a later PR.
Description / Supporting Info
Implements openedx/public-engineering#238
Note: This also removes the
copy_library_from_v1_to_v2
management command, which has been broken ever since we switched from Blockstore to Learning Core.Testing
Mostly, I'm counting on linting and unit tests to confirm that this is a clean removal.
Dave, can you confirm with this branch that you can still create and use Learning-Core-Backed Content Libraries locally (to the same extent that you were able to before)?
Merge Deadline
Before the Redwood cut, if possible.
Not a huge deal if it misses the cut, but it might muddy the waters to still have Blockstore references floating around in Redwood.