Guard against data loss when snapshotting

As discussed in:
gitlab-ce!23508 (comment 123296899)

Snapshotting doesn't use git, and will miss the required shared data.
parent 42dcbe76
Pipeline #39360510 canceled with stages
in 63 minutes and 52 seconds
......@@ -118,6 +118,10 @@ module Geo
# will be enqueued by the log cursor, which should resolve any problems
# it is possible to fix.
def fetch_snapshot
# Snapshots will miss the data that are shared in object pools, and snapshotting should
# be avoided to guard against data loss.
return if project.pool_repository
log_info("Attempting to fetch repository via snapshot")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment