Commit Graph

6 Commits

Author SHA1 Message Date
Claire 090adf03fe
Improve warnings around the database maintenance script (#908)
* Improve warnings around the database maintenance script

* Fix repeated sentence
2022-01-16 17:03:38 +01:00
Claire d5d88f2c37
Add an info box about PgHero duplicate index warnings (#909)
Some people asked whether they should be running the maintenance script after seeing a PgHero warning about duplicate indexes.
This change highlights that the warning is unrelated to database index corruption.
2022-01-16 16:37:06 +01:00
Bruno Baguette 419b77f7b5
Typo fixes (#902)
- Typo fix : "duplicate" ➤ "duplicates"
- Typo fix : "chose" ➤ "choose"
- Typo fix : "occuring" ➤ "occurring"
2021-11-30 21:20:52 +01:00
Bryce "BonzoESC" Kerley 55c284295f
point towards how to avoid index corruption (#893)
added links to the SQL `REINDEX` and CLI `reindexdb` commands
2021-08-29 18:00:20 +02:00
ThibG 7df49f31a1
Add more detailed instructions regarding index corruption (#835)
- emphasizes that Mastodon has to be stopped when running the script
- add `RAILS_ENV=production` in front of the `tootctl` line as it is a common mistake to run it without `RAILS_ENV` set
- mention 3.2.2 as the first release shipping the script (assuming that will be the case)
2020-12-18 17:53:35 +01:00
ThibG 13cb6106fc
Add documentation about index corruption (#811)
* [WiP] Add documentation about index corruption

Add documentation about index corruption caused by changes in collation rules, and information on how to fix it.

* Add doc on how to check indexes

Add documentation on how to check indexes without bringing the instance down.

* Update index-corruption.md

* fixup typo

* Add instructions for re-creating the database

* Add minor explanations

* Remove recommendation to re-create database with C collation

Meaningful case-folding operations are used within the database for hashtags, so do not recommend using `C`, which would cause issues with non-ASCII hashtags.
2020-11-19 21:49:18 +01:00