Skip to content

Conversation

harshavardhana
Copy link
Member

Fixes multiple things

  • Closes the local open files properly staged
    during multipart form upload.

  • Removes these files upon upload properly, otherwise
    we run out of disk space on /tmp/ due to staging
    of these objects.

@harshavardhana
Copy link
Member Author

The next work is to make this API fully streaming instead of using staging, we are currently bottlenecked by using ParseMultipartForm() approach and implement a full streaming approach.

Fixes multiple things

- Closes the local open files properly staged
  during multipart form upload.

- Removes these files upon upload properly, otherwise
  we run out of disk space on /tmp/ due to staging
  of these objects.
@dvaldivia
Copy link
Collaborator

@harshavardhana yeah, we should disallow multiple file uploads together, and do one at a time via UI, so we can stream the file into MinIO

@harshavardhana
Copy link
Member Author

@harshavardhana yeah, we should disallow multiple file uploads together, and do one at a time via UI, so we can stream the file into MinIO

Even multiple files stream is possible just has to be implemented properly.

@Alevsk Alevsk merged commit c269285 into minio:master Sep 10, 2021
@harshavardhana harshavardhana deleted the fix-multipart-form branch September 10, 2021 21:48
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.

4 participants