Bug #80818 | default log-tc-size too small on POWER - 3 * ( 64K page size) minimium needed | ||
---|---|---|---|
Submitted: | 22 Mar 2016 6:55 | Modified: | 6 Jul 2016 18:01 |
Reporter: | Daniel Black | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: XA transactions | Severity: | S2 (Serious) |
Version: | 5.7.11 | OS: | Linux (Power8 ppc64le) |
Assigned to: | CPU Architecture: | ARM | |
Tags: | power |
[22 Mar 2016 6:55]
Daniel Black
[22 Mar 2016 6:59]
Daniel Black
correct typo in Synopsis
[22 Mar 2016 23:49]
Daniel Black
power-log-tc-size.patch
Attachment: power-log-tc-size.patch (text/x-patch), 1.09 KiB.
[29 Mar 2016 7:06]
MySQL Verification Team
Hello Daniel, Thank you for the report and contribution. Thanks, Umesh
[8 Jun 2016 14:54]
OCA Admin
Contribution submitted via Github - Bug #80818: default log-tc-size too small on POWER - 3 * ( 64K page size) minimi (*) Contribution by Alexey Kopytov (Github akopytov, mysql-server/pull/80#issuecomment-224567038): I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: git_patch_72994826.txt (text/plain), 1.49 KiB.
[6 Jul 2016 18:01]
Paul DuBois
Posted by developer: Noted in 8.0.0 changelog. The hardcoded memory page size of 8KB for the memory-mapped transaction coordinator was too small for platforms such as ARM64 and PowerPC where the page size is much larger. The server now invokes a system call to get the page size of the current platform rather than using a hardcoded value. A consequence for the --log-tc-size option is that the minimum and default values are now 6 times the page size. Also, the value must be a multiple of the page size. Thanks to Alexey Kopytov for the patch.
[6 Oct 2017 7:46]
MySQL Verification Team
Related - Bug #87995