Skip to content

Fix bug in LfsObject.replicables_for_current_secondary

Ian Baum requested to merge lfs-object-replicables-and-selective-sync into master

What does this MR do?

LfsObject.replicables_for_current_secondary was refactored as part of !56286 (merged). A bug was introduced that caused it to include duplicate results when selective sync was enabled since we were including the results twice. This MR makes sure we only include selective sync results once

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Ian Baum

Merge request reports