Skip to content
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

NSFS | Add support for list multipart uploads in namespace_fs, pagination not handled #7987

Merged
merged 1 commit into from
Apr 22, 2024
Merged

NSFS | Add support for list multipart uploads in namespace_fs, pagination not handled #7987

merged 1 commit into from
Apr 22, 2024

Conversation

naveenpaul1
Copy link
Contributor

@naveenpaul1 naveenpaul1 commented Apr 19, 2024

Explain the changes

  1. add support for list multiple uploads in namespace_fs. currently without marker support
    NB : pagination not handled.

Issues: Fixed #xxx / Gap #xxx

  1. https://bugzilla.redhat.com/show_bug.cgi?id=2271804

Testing Instructions:

  1. run sudo node ./node_modules/mocha/bin/mocha src/test/unit_tests/test_namespace_fs.js or
    you run the s3 api while uploading the file or folder and response should have a uploading file details
    s3api list-multipart-uploads --bucket {bucket_name}
  • Doc added/updated
  • Tests added

@guymguym guymguym added this to the 5.15.3 milestone Apr 21, 2024
Copy link
Member

@guymguym guymguym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please just add a comment in the code and also in the PR title+description that this is still not a full implementation because it does not handle pagination.

@@ -2336,11 +2368,28 @@ class NamespaceFS {
}
}

_mpu_path(params) {
_get_object_info_from_create_object_parameters(create_params, stat) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
_get_object_info_from_create_object_parameters(create_params, stat) {
_get_mpu_info(create_params, stat) {

@naveenpaul1 naveenpaul1 changed the title NSFS | Add support for list multiple uploads in namespace_fs NSFS | Add support for list multiple uploads in namespace_fs, pagination not handled Apr 22, 2024
Signed-off-by: naveenpaul1 <napaul@redhat.com>
@naveenpaul1 naveenpaul1 merged commit 5914557 into noobaa:master Apr 22, 2024
10 checks passed
@romayalon romayalon mentioned this pull request Apr 25, 2024
2 tasks
@guymguym guymguym changed the title NSFS | Add support for list multiple uploads in namespace_fs, pagination not handled NSFS | Add support for list multipart uploads in namespace_fs, pagination not handled Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants