-
Notifications
You must be signed in to change notification settings - Fork 991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mandate everything runs in some fixed locale en_US.UTF8
#3118
Comments
I search the codebase and I see this comment graph-node/store/postgres/src/connection_pool.rs Lines 589 to 594 in 85ac00c
|
@saihaj I wonder if we can add a specific check for |
The POSIX locale is better for performance, so it seems worth discussing if we should choose that. |
This discussion is a good start. One thing to note is that switching collation would require rebuilding all indexes with |
The majority of indexers responding to the straw poll are running |
The 'right' choice would be to use the Either way, the safest way to change locale is to recreate the database - the default locale is baked in when the database is initialized. That means the indexers would have to dump their database, recreate it, and restore from backup. There might be ways for us to change that when generating queries, but it'll require some more work within |
OK - so they wouldn't need to re-index, just restore from backup? Interested in @fordN's opinion from an indexer perspective here? |
Originally posted by @lutter in #1837 (comment)
The text was updated successfully, but these errors were encountered: