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

Multiple files upload refactor #1755

Merged
merged 3 commits into from
Mar 24, 2022
Merged

Conversation

Alevsk
Copy link
Contributor

@Alevsk Alevsk commented Mar 23, 2022

  • failed uploaded objects progress bar shows in red color
  • fixed bug in where failed uploaded objects cannot be removed from
    listed objects in ObjectManager
  • display delete button for failed upload objects
  • display setErrorSnackMessage component after done uploading all
    objects with number of failed objects
  • fixed race condition bug during multiple objects upload, now we are
    using Promise.allSettled to handle synchronization between uploads

Screenshot from 2022-03-23 14-40-03
Screenshot from 2022-03-23 14-41-37

Signed-off-by: Lenin Alevski alevsk.8772@gmail.com

@cniackz
Copy link
Collaborator

cniackz commented Mar 23, 2022

Tested locally, wanted to see the red color:

red-bar

Disconnected minio server while uploading big file to see the error and the new red color on the bar. If Permission Tests are passing then this PR looks good to me!

cniackz
cniackz previously approved these changes Mar 23, 2022
Copy link
Collaborator

@cniackz cniackz left a comment

Choose a reason for hiding this comment

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

If Permission Tests are passing then this PR looks good to me!

- failed uploaded objects progress bar shows in red color
- fixed bug in where failed uploaded objects cannot be removed from
  listed objects in ObjectManager
- display delete button for failed upload objects
- display setErrorSnackMessage component after done uploading all
  objects with number of failed objects
- fixed race condition bug during multiple objects upload, now we are
  using Promise.allSettled to handle synchronization between uploads

Signed-off-by: Lenin Alevski <alevsk.8772@gmail.com>
Copy link
Member

@prakashsvmx prakashsvmx left a comment

Choose a reason for hiding this comment

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

Tested. Changes look good to me.

@dvaldivia dvaldivia merged commit bc1cb82 into minio:master Mar 24, 2022
@Alevsk Alevsk deleted the upload-files-refactor branch March 24, 2022 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants