noobaa-core icon indicating copy to clipboard operation
noobaa-core copied to clipboard

complete upload - skip db access for small object (for performance)

Open alphaprinz opened this issue 1 year ago • 5 comments

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

alphaprinz avatar Sep 10 '23 09:09 alphaprinz

This PR had no activity for too long - it will now be labeled stale. Update it to prevent it from getting closed.

github-actions[bot] avatar Apr 25 '24 11:04 github-actions[bot]

This PR is stale and had no activity for too long - it will now be closed.

github-actions[bot] avatar May 26 '24 11:05 github-actions[bot]