Geo: Increase test coverage of `LfsObject.replicables_for_current_secondary`
Similar to !37239 (merged) and !37874 (merged).
- Prepare LFS objects for being migrated to the Geo Self-Service Framework
- Have a SSOT (a single scope) responsible for what LFS objects should be replicated by a secondary
- Increase test coverage
- Align with pattern set by uploads, artifacts, and SSF blobs
- Potentially increase performance
Proposal
Adapted from what was done in !37874 (merged).
-
Move GeoNode#lfs_objects
toLfsObject.replicables_for_current_secondary
-
Remove CTE since it is no longer needed to improve FDW queries => !42423 (merged) -
Subsume locally-stored-only scope if sync_object_storage is disabled into replicables_for_current_secondary
=> !40542 (merged) -
Add test coverage (basically copy similar tests from other replicables_for_current_secondary
s)
Edited by Michael Kozono