[MDEV-12082] MariaDB 10.2 crashes at startup with TokuDB enabled Created: 2017-02-19 Updated: 2020-12-01 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - TokuDB |
| Affects Version/s: | 10.2.4 |
| Fix Version/s: | 10.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | jocelyn fournier | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream | ||
| Description |
|
Hi, I've just tried to upgrade mariadb 10.0 to mariadb 10.2 on a debian Jessie. Without TokuDB, all is working ok. and reenabling TokuDB, it crashes at startup when checking huge_pages :
|
| Comments |
| Comment by Elena Stepanova [ 2017-02-24 ] |
|
Did it work with 10.0? At the first glance I don't see any difference between the versions around this area. |
| Comment by jocelyn fournier [ 2017-02-24 ] |
|
Hi Elena! Yes it was working perfectly in 10.0 with my TokuDB tables |
| Comment by jocelyn fournier [ 2017-02-27 ] |
|
Note I'm using a linux kernel (3.14.32 grsec) without HugePage support. It's the default kernel used in debian for server installed with http://ovh.com =>
|
| Comment by jocelyn fournier [ 2017-02-27 ] |
|
I also confirm than compiling & executing alone the check_huge_pages_in_practice() function assert on my debian system without huge page. I've just tested it in another stock debian lenny with huge page enable, and it doesn't assert. |
| Comment by jocelyn fournier [ 2017-02-27 ] |
|
Workaround to fix the crash : If get_check_thp() is not enabled, tokudb doesn't make the huge page check |
| Comment by Elena Stepanova [ 2017-03-20 ] |
|
How old was the 10.1 version where it worked all right? From what I see, this change was merged along with TokuDB 5.6.31-77.0 into 10.0 and 10.1 some time in August 2016. I don't have a kernel without hugepage support to check, but I assume since the change was merged from upstream as is, Percona Server should will be affected, right? In this case we should file a bug report for them. Do you want to do it, or should I? |
| Comment by jocelyn fournier [ 2017-03-20 ] |
|
It was the latest 10.0 available in debian (so quite recent). I agree upstream should be affected. I will fill a bug report against Percona Server. |
| Comment by jocelyn fournier [ 2017-03-20 ] |
| Comment by Elena Stepanova [ 2017-03-20 ] |
|
Thank you |
| Comment by Elena Stepanova [ 2017-09-19 ] |
|
Setting to Confirmed based on the fact that upstream hasn't rejected the report, but re-filed it in their other tracker. |