Skip to content

Fix post-migration warning about index corruption being too scary#15223

Merged
Gargron merged 1 commit intomasterfrom
fix-scary-db-warning
Nov 27, 2020
Merged

Fix post-migration warning about index corruption being too scary#15223
Gargron merged 1 commit intomasterfrom
fix-scary-db-warning

Conversation

@Gargron
Copy link
Copy Markdown
Member

@Gargron Gargron commented Nov 27, 2020

Old (printed into Rails log, which may sometimes be disabled, write to a file, or by default to stdout):

WARNING: Your database is using an unsafe collation setting, which might result in index corruption.
WARNING: See https://docs.joinmastodon.org/admin/troubleshooting/index-corruption/#am-i-affected

New (printed to stderr):

Your database collation is susceptible to index corruption.
  (This warning does not indicate that index corruption has occured and can be ignored)
  (To learn more, visit: https://docs.joinmastodon.org/admin/troubleshooting/index-corruption/)

@Gargron Gargron force-pushed the fix-scary-db-warning branch from 3ae817e to 6351e73 Compare November 27, 2020 05:20
@Gargron Gargron merged commit ec0edf7 into master Nov 27, 2020
@Gargron Gargron deleted the fix-scary-db-warning branch November 27, 2020 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants