mastodon/lib/mastodon
ThibG 1242e57c27
Deal with collation-related index corruption (#14860)
* Add tootctl maintenance fix-duplicates

This tool goes through the database to detect and fix duplicates.
This operation is very slow and may cause data loss (of data that would be
inaccessible without intervention because of the existing index corruptions).
It tries its best to make sensible decisions, and asks the user in some cases.

* Add warning message in db:migrate hook

* Clear Rails cache after being done with database deduplication

Avoids followers hash cache being incorrect, among other things
2020-11-19 17:37:49 +01:00
..
accounts_cli.rb Add support for reversible suspensions through ActivityPub (#14989) 2020-11-08 00:28:39 +01:00
cache_cli.rb Change tootctl to use inline parallelization instead of Sidekiq (#11776) 2019-09-10 13:48:48 +02:00
cli_helper.rb Change `tootctl search deploy` algorithm (#14300) 2020-07-14 18:10:35 +02:00
domains_cli.rb Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
email_domain_blocks_cli.rb Improve email address validation (#14565) 2020-08-12 12:40:25 +02:00
emoji_cli.rb Add `tootctl emoji export` (#13534) 2020-04-27 22:17:49 +02:00
feeds_cli.rb Fix tootctl not allocating enough database connections for main thread (#12097) 2019-10-07 05:05:02 +02:00
ip_blocks_cli.rb Add IP-based rules (#14963) 2020-10-12 16:33:49 +02:00
maintenance_cli.rb Deal with collation-related index corruption (#14860) 2020-11-19 17:37:49 +01:00
media_cli.rb Change S3 ACL in "tootctl media remove-orphans --fix-permissions" from fixed value to environment file's value. (#14715) 2020-09-02 00:17:58 +02:00
migration_helpers.rb Do not suggest to login into the GitLab database (#13084) 2020-02-15 12:52:57 +01:00
premailer_webpack_strategy.rb ASSET_HOST is wrong env variable. Fix to CDN_HOST (#6372) 2018-01-29 01:06:39 +01:00
preview_cards_cli.rb Change tootctl to use inline parallelization instead of Sidekiq (#11776) 2019-09-10 13:48:48 +02:00
redis_config.rb Bump rubocop from 0.86.0 to 0.88.0 (#14412) 2020-09-01 03:04:00 +02:00
search_cli.rb Change `tootctl search deploy` algorithm (#14300) 2020-07-14 18:10:35 +02:00
settings_cli.rb Admission-based registrations mode (#10250) 2019-03-14 05:28:30 +01:00
snowflake.rb Fixes/do not override timestamps (#7336) 2018-05-03 23:02:46 +02:00
statuses_cli.rb Add `--skip-media-remove` option to `tootctl statuses remove` (#13080) 2020-03-08 16:01:07 +01:00
upgrade_cli.rb Fix `tootctl upgrade storage-schema` S3 ACL (#13768) 2020-05-17 17:27:36 +02:00
version.rb Bump rubocop from 0.86.0 to 0.88.0 (#14412) 2020-09-01 03:04:00 +02:00