about summary refs log tree commit diff
path: root/spec/fixtures/files
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-11-19 17:37:49 +0100
committerGitHub <noreply@github.com>2020-11-19 17:37:49 +0100
commit1242e57c270e9ff356e8c175670d5dc3a10ad273 (patch)
treefb149a2e4e95f510fa1343983b76609934995173 /spec/fixtures/files
parent29e76f994e3abf0146da1be3ddda9e0893f7efa5 (diff)
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
Diffstat (limited to 'spec/fixtures/files')
0 files changed, 0 insertions, 0 deletions