timezone info unfixable in XtraDB Cluster
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC |
Fix Released
|
Undecided
|
Raghavendra D Prabhu |
Bug Description
Dear sirs,
We are attempting to migrate from MySQL 5.0 to Percona XtraDB Cluster 5.5. Our application's scope is international and supports timezones in MySQL (CONVERT_TZ(), SET time_zone = 'UTC', etc).
In order to correctly support our application, we tried importing the timezone info using the "mysql_
This process did not work correctly, and after a little thinking it became evident why: mysql_tzinfo_to_sql attempts to store data in the mysql.time_zone tables. Those tables are in the MyISAM format and as such, replication does not work correctly for them. Specifically, when executing the mysql_tzinfo_to_sql on one server, the equivalent table on the other servers is truncated (empty). The same happens if we change servers. There is no way to get correct time_zone data on all cluster servers.
Immediately we thought about converting those tables to InnoDB, but after searching a little on the web we found this:
http://
...which explicitly forbids doing so.
Is there any other way to successfully load timezone info in XtraDB Cluster? Is converting the timezone tables to InnoDB safe?
Thank you in advance for your time.
Best regards,
Related branches
description: | updated |
Changed in percona-xtradb-cluster: | |
milestone: | none → 5.5.30-24.8 |
assignee: | nobody → Raghavendra D Prabhu (raghavendra-prabhu) |
status: | New → Triaged |
Changed in percona-xtradb-cluster: | |
status: | Triaged → Fix Committed |
Changed in percona-xtradb-cluster: | |
status: | Fix Committed → Fix Released |
Additional info:
The cluster is working correctly. A 600Mb compressed mysqldump was restored on one server and replicated with no problems on all nodes.
The problem was discovered while attempting to start a slave replication from our old MySQL server to one of the new cluster servers. That replication started normally without errors but stopped after a while with the error:
Error 'Unknown or incorrect time zone: 'UTC'' on query. Default database: ....
What I am trying to say is that the time zone info was specified in the relay log, if that's important in some way.
Additional question: If timezone info cannot be replicated correctly in XtraDB cluster, would it be viable if we tried to _not_ replicate the mysql database in the cluster?