Skip to content

A platform for community discussion. Free, open, simple.

FIX: Migrating uploads to S3 could miss files

Gerhard Schlager93b8b04b0688
diff --git a/lib/file_store/to_s3_migration.rb b/lib/file_store/to_s3_migration.rb
index fe2edd5a535..456e428657d 100644
--- a/lib/file_store/to_s3_migration.rb
+++ b/lib/file_store/to_s3_migration.rb
@@ -139,9 +139,6 @@ module FileStore
# we don't want have migrated state, ensure we run all jobs here
Jobs.run_immediately!
- log "Checking if #{@current_db} already migrated..."
- return log "Already migrated #{@current_db}!" if migration_successful?
-
log "*" * 30 + " DRY RUN " + "*" * 30 if @dry_run
log "Migrating uploads to S3 for '#{@current_db}'..."