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

Properly handle S3 digests #4940

Closed
imsdu opened this issue May 6, 2024 · 0 comments · Fixed by #4991
Closed

Properly handle S3 digests #4940

imsdu opened this issue May 6, 2024 · 0 comments · Fixed by #4991
Assignees

Comments

@imsdu
Copy link
Contributor

imsdu commented May 6, 2024

Motivation
The S3 checksum changes depending if a file was upload via a single operation or a multipart one.
This should be reflected in the digest saved in the database

Exemple of a checksum returned by S3 for the multipart case:

kFsM2p15+Jbp2K0FIF0y1zIWlEJOt5052qlU8IRQPtM=-3

Acceptance criteria

  1. The checksum and the number of parts is correctly parsed by Nexus for both cases
  2. Both the chcksum and the number of parts is saved
  3. The number of parts is also indexed in BG/ES

Technical details
A new case class is added to the Digest ADT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants