--loose-tokudb-check-jemalloc=0 is ignored on mtr --gdb

Bug #1540340 reported by Vlad Lesin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Status tracked in 5.7
5.6
Expired
Undecided
Unassigned
5.7
Expired
Undecided
Unassigned

Bug Description

Tokudb engine is failed to be loaded if mtr testing is started with --gdb option.

Tokudb test suits contain --loose-tokudb-check-jemalloc=0 option. If mtr is started with --gdb option --loose-tokudb-check-jemalloc=0 is ignored and tokudb engine initialization failed on checking if libjemalloc is loaded in tokudb_init_func().

Tags: tokudb
tags: added: tokudb
Revision history for this message
George Ormond Lorch III (gl-az) wrote :
Revision history for this message
George Ormond Lorch III (gl-az) wrote :

This really seems an mtr issue, not TokuDB in that mtr isn't properly passing the defined extra options with --gdb. For this use case it may become irrelevant anyway if/when we remove the mandatory need/test for jemalloc.

Revision history for this message
Sveta Smirnova (svetasmirnova) wrote :

Not repeatable with 5.7

Revision history for this message
Sveta Smirnova (svetasmirnova) wrote :
Download full text (4.7 KiB)

Thank you for the report.

I cannot repeat described behavior in both 5.6 and 5.7 versions:

sveta@Thinkie:~/build/ps-5.6/mysql-test$ Logging: ./mtr --suite=tokudb locks-select-update-3 --start --gdb
2017-03-25 00:57:18 0 [Warning] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
2017-03-25 00:57:18 0 [Note] /home/sveta/build/ps-5.6/bin/mysqld (mysqld 5.6.35-80.0-debug) starting as process 27865 ...
2017-03-25 00:57:18 27865 [Note] Plugin 'FEDERATED' is disabled.
2017-03-25 00:57:18 27865 [Note] Binlog end
2017-03-25 00:57:18 27865 [Note] Shutting down plugin 'CSV'
2017-03-25 00:57:18 27865 [Note] Shutting down plugin 'MyISAM'
MySQL Version 5.6.35
Checking supported features...
 - SSL connections supported
 - binaries are debug compiled
Collecting tests...
Checking leftover processes...
Removing old var directory...
Creating var directory '/home/sveta/build/ps-5.6/mysql-test/var'...
Installing system database...
Using parallel: 1

==============================================================================

TEST RESULT TIME (ms) or COMMENT
--------------------------------------------------------------------------

worker[1] Using MTR_BUILD_THREAD 300, with reserved ports 13000..13009
worker[1]
Started [mysqld.1 - pid: 27912, winpid: 27912]
worker[1] Using config for test tokudb.locks-select-update-3
worker[1] Port and socket path for server(s):
worker[1] mysqld.1 13001 /home/sveta/build/ps-5.6/mysql-test/var/tmp/mysqld.1.sock
worker[1] Waiting for server(s) to exit...

sveta@Thinkie:~/build/ps-5.6/mysql-test$ mysqlmtr -P13001 test
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 13
Server version: 5.6.35-80.0-debug-log Source distribution

Copyright (c) 2009-2016 Percona LLC and/or its affiliates
Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show engines;
+--------------------+---------+----------------------------------------------------------------------------+--------------+------+------------+
| Engine | Support | Comment | Transactions | XA | Savepoints |
+--------------------+---------+----------------------------------------------------------------------------+--------------+------+------------+
| MyISAM | DEFAULT | MyISAM storage engine | NO | NO | NO |
| MRG_MYISAM | YES | Collection of identical MyISAM tables | NO | NO | NO |
| CSV | YES | CSV storage engine | NO | NO | NO |
| BLACKHOLE | YES | /dev/null storage engine (anything you write to it disappears) ...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Percona Server 5.7 because there has been no activity for 60 days.]

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Percona Server 5.6 because there has been no activity for 60 days.]

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-3369

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.