MySQL-5.7: default log-tc-size too small on POWER. 3 * ( 64K page size) minimum needed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Server |
Unknown
|
Unknown
|
|||
The Ubuntu-power-systems project |
Fix Released
|
High
|
David Britton | ||
mysql-5.7 (Ubuntu) |
Fix Released
|
High
|
Robie Basak |
Bug Description
Steps-to-reproduce:
sudo vim /etc/apt/
sudo apt update
sudo apt install ubuntu-dev-tools build-essential
sudo apt-get build-dep mysql-5.7
apt source mysql-5.7
cd mysql-5.7-5.7.19/
vim debian/rules
# enable -DENABLE_
DEB_BUILD_
cd builddir
make gunit_large
./unittest/
(crash)
== Comment: #0 - Daniel Black
---Problem Description---
MySQL-5.6/5.7: default log-tc-size too small on POWER - 3 * ( 64K page size) minimum needed
---uname output---
Linux p87 4.4.0-62-generic #83-Ubuntu SMP Wed Jan 18 14:09:19 UTC 2017 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = Any P8
---Steps to Reproduce---
Perform a large number of XA transactions without a binary log configured. Its usually triggered in the MTR test run.
As Power's page size is 64K by default the assumption that 3*8K was sufficient applies to x86 but not Power.
Userspace tool common name: MySQL-5.7
The userspace tool has the following bit modes: both
Userspace rpm: MySQL-5.7
Userspace tool obtained from project website: na
Oracle have corrected this in 8.0 https:/
Alternately (and more minimally) Alexey's patch in https:/
--- Work arounds --
Set log-tc-size=196k or larger in my.cnf at startup.
tags: | added: architecture-ppc64le bugnameltc-156947 severity-high targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → dbf2mysql (Ubuntu) |
Changed in ubuntu-power-systems: | |
assignee: | nobody → Canonical Server Team (canonical-server) |
Changed in ubuntu-power-systems: | |
importance: | Undecided → High |
affects: | dbf2mysql (Ubuntu) → mysql-5.7 (Ubuntu) |
tags: | added: triage-g |
Changed in mysql-5.7 (Ubuntu): | |
importance: | Undecided → High |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → David Britton (davidpbritton) |
tags: |
added: triage-r removed: triage-g |
Changed in ubuntu-power-systems: | |
assignee: | Canonical Server Team (canonical-server) → David Britton (davidpbritton) |
Changed in mysql-5.7 (Ubuntu): | |
status: | Incomplete → New |
Changed in ubuntu-power-systems: | |
status: | Incomplete → New |
Changed in mysql-5.7 (Ubuntu): | |
assignee: | David Britton (davidpbritton) → Robie Basak (racb) |
Changed in mysql-5.7 (Ubuntu): | |
status: | New → Incomplete |
Changed in ubuntu-power-systems: | |
status: | New → Incomplete |
tags: |
added: triage-a removed: triage-r |
Changed in ubuntu-power-systems: | |
status: | Incomplete → Won't Fix |
Changed in mysql-5.7 (Ubuntu): | |
status: | Incomplete → Won't Fix |
status: | Won't Fix → Incomplete |
Changed in ubuntu-power-systems: | |
status: | Won't Fix → Incomplete |
Changed in mysql-5.7 (Ubuntu): | |
status: | Incomplete → In Progress |
Changed in ubuntu-power-systems: | |
status: | Incomplete → In Progress |
tags: |
added: triage-g removed: triage-a |
Changed in ubuntu-power-systems: | |
status: | In Progress → Fix Released |
tags: |
added: targetmilestone-inin1804 removed: targetmilestone-inin--- |
Clarification from upstream: /github. com/mysql/ mysql-server/ pull/80# issuecomment- 317872906
https:/