discourse/spec/lib/backup_restore
Gerhard Schlager ac70c48be4 FIX: Prevent "uploads are missing in S3" alerts after restoring a backup
After restoring a backup it takes up to 48 hours for uploads stored on S3 to appear in the S3 inventory. This change prevents alerts about missing uploads by preventing the EnsureS3UploadsExistence job from running in the first 48 hours after a restore. During the restore it  deletes the count of missing uploads from the PluginStore, so that an alert isn't triggered by an old number.
2020-09-10 21:37:48 +02:00
..
backup_file_handler_spec.rb FIX: Backups should use relative paths for local uploads 2020-08-21 15:22:28 +02:00
backuper_spec.rb REFACTOR: Clean up parameterized title 2019-07-18 15:49:16 -06:00
database_restorer_spec.rb FIX: Prevent "uploads are missing in S3" alerts after restoring a backup 2020-09-10 21:37:48 +02:00
local_backup_store_spec.rb DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
meta_data_handler_spec.rb REFACTOR: Simplify backup version check 2020-01-15 23:37:40 +01:00
s3_backup_store_spec.rb new S3 backup layout (#9830) 2020-05-29 00:28:23 +05:30
shared_context_for_backup_restore.rb REFACTOR: Restoring of backups and migration of uploads to S3 2020-01-14 11:41:35 +01:00
shared_examples_for_backup_store.rb DEV: use #frozen_string_literal: true on all spec 2019-04-30 10:27:42 +10:00
system_interface_spec.rb REFACTOR: Restoring of backups and migration of uploads to S3 2020-01-14 11:41:35 +01:00
uploads_restorer_spec.rb DEV: Use a tmp directory for storing uploads in tests (#9554) 2020-04-28 14:03:04 +01:00