ps_tokudb_admin --defaults-file option should be added

Bug #1517021 reported by Shahriyar Rzayev on 2015-11-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Medium
Tomislav Plavcic
5.6
Fix Released
Medium
Tomislav Plavcic

Bug Description

After compiling from source, if you start Percona Server with specified my.cnf path:

[root@testing-host1 ~]# /opt/percona-5.6.27/bin/mysqld_safe --defaults-file=/opt/percona-5.6.27/my.cnf --user=root --datadir=/opt/percona-5.6.27/datadir --socket=/opt/percona-5.6.27/datadir/mysqld.sock --port=3308 --pid-file=/opt/percona-5.6.27/datadir/percona-new.pid --log-error=/opt/percona-5.6.27/datadir/error.log --malloc-lib=/usr/lib64/libjemalloc.so.1

And then run ps_tokudb_admin:

[root@testing-host1 ~]# /opt/percona-5.6.27/bin/ps_tokudb_admin --enable --user=root -p12345 --socket=/opt/percona-5.6.27/datadir/mysqld.sock --port=3308
Checking SELinux status...
INFO: SELinux is in permissive mode.

Checking if Percona Server is running with jemalloc enabled...
INFO: Percona Server is running with jemalloc enabled.

Checking transparent huge pages status on the system...
INFO: Transparent huge pages are currently disabled on the system.

Checking if thp-setting=never option is already set in config file...
INFO: Option thp-setting=never is not set in the config file.
      (needed only if THP is not disabled permanently on the system)

Checking TokuDB engine plugin status...
INFO: TokuDB engine plugin is installed.

Adding thp-setting=never option into /etc/my.cnf
INFO: Successfully added thp-setting=never option into /etc/my.cnf

It will update /etc/my.cnf file rather than specified --defaults-file.
So, it will be great to specify --defaults-file with ps_tokudb_admin :)

Changed in percona-server:
importance: High → Medium
tags: added: tokudb

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

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

Other bug subscribers