value of innodb_temp_data_file_path is processed incorrectly with pt-config-diff
36 views
Skip to first unread message
marekb...@gmail.com
unread,
May 21, 2018, 9:51:29 AM5/21/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Percona Discussion
Hi,
I have noticed incorrectly reported difference with pt-config-diff when value ends with number and factor but is not only single numeric value. For example when innodb_temp_data_file_path is set to ibtmp1:12M:autoextend:max:50G pt-config-diff returns:
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to percona-d...@googlegroups.com
The value is converted in subroutine _process_val where only last
numeric value and factor is matched with regex and any preceding
string is stripped out:
if ( my ($num, $factor) = $val =~ m/(\d+)([KMGT])b?$/i ) {