noobaa-core
noobaa-core copied to clipboard
complete upload - skip db access for small object (for performance)
Explain the changes
For small objects with one part, we know the start/end of object. There's no need to fix values in db at the end of the put object. (It's needed for multipart upload where each part doesn't know its start/end at single part upload). Also, set part as committed when inserting the part (again, to skip db access for removing uncommitted at the end).
Issues: Fixed #xxx / Gap #xxx
Redundant db access at the end of upload.
Testing Instructions:
- [ ] Doc added/updated
- [ ] Tests added
This PR had no activity for too long - it will now be labeled stale. Update it to prevent it from getting closed.
This PR is stale and had no activity for too long - it will now be closed.