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

Fix md5 cache #1354

Closed
wants to merge 6 commits into from
Closed

Fix md5 cache #1354

wants to merge 6 commits into from

Commits on Oct 2, 2024

  1. Fix broken MD5 hash cache.

    This change fixes issues causing no matches to occur for existing
    objects at S3 in some cases. This issue caused all versions of a
    package in a repo to be uploaded again to S3.
    
    Lookups in the cache of file MD5s were failing as the key in the map
    had its prefix stripped while the key used for the lookup did not have
    the prefix stripped. This change stops stripping the prefix when
    building the cache.
    
    Retrieving object MD5s from object metadata (as opposed to the etag
    that comes with the object list) were failing as the key in the
    metadata map is now "md5" (all lowercase) vs. "Md5" that was used
    pre-v2 AWS SDK.
    Kevin Martin authored and neolynx committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    e8f1cf2 View commit details
    Browse the repository at this point in the history
  2. Update authors for new contributor.

    Kevin Martin authored and neolynx committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    e643981 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    80ff357 View commit details
    Browse the repository at this point in the history
  4. revert not removing prefix

    neolynx committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    e7d37af View commit details
    Browse the repository at this point in the history
  5. make swagger quiet

    neolynx committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    5224e01 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    80ab393 View commit details
    Browse the repository at this point in the history