Geo: Package Files stored on object storage fails to sync with error "Downloaded file checksum mismatch" on staging-ref
On staging-ref some files, e.g.: https://staging-ref.gitlab.com/gitlab-qa-sandbox-group-1/qa-test-2023-09-10-12-07-56-893e415c425e3ed7/geo-maven-package-project-d3ca16386a8d8ff7/-/packages/5183 (maven-1.0.pom), fail to sync with the error: Downloaded file checksum mismatch
. These files are used by QA tests.
On primary the verification_checksum
which should be the file's size in bytes converted to a string, is incorrect, such that, the verification_checksum
is "8060", while the file size is 806 bytes.
On secondary, the checksum is calculated correctly, as 806.
The problem could have been was introduced by enabling object storage verification with file size through !131000 (merged)
Edited by Aakriti Gupta