Geo: JobArtifacts can't be verified on primary (and synced on secondary) when `sync_object_storage` is set to true
If the file is stored in Object Storage and the sync_object_storage
option is enabled, the file is not going to be verified. It's OK because it's not implemented yet and that is specified in https://docs.gitlab.com/ee/administration/geo/replication/datatypes.html but the state records for those blobs should not be event created. This is how it's supposed to work for now until we don't support remotely stored blob verification. I currently see this problem for JobArtifacts, I didn't check other types.
The Problem
Blobs are verified on primary again and again. The verification retry count value is very large.
Expected behavior
Blobs that should not be verified should not be counted as verifiables
, as we currently don't verify OS stored blobs. The state records shouldn't be even created.