So pt-osc will set those vars to those values by default (except lock_wait_timeout for < MySQL 5.5). If you want a different value for the now removed --lock-wait-timeout, say, 10 instead of 1, then specify:
--set-vars innodb_lock_wait_timeout=10
That will only override the default innodb_lock_wait_timeout=1.
So the specific fix for this bug has become:
=item --set-vars
type: Array
Set the MySQL variables in this comma-separated list of C<variable=value> pairs.
By default, the tool sets:
=for comment ignore- pt-internal- value
MAGIC_set_vars
wait_ timeout= 10000 lock_wait_ timeout= 1 wait_timeout= 60
innodb_
lock_
So pt-osc will set those vars to those values by default (except lock_wait_timeout for < MySQL 5.5). If you want a different value for the now removed --lock- wait-timeout, say, 10 instead of 1, then specify:
--set-vars innodb_ lock_wait_ timeout= 10
That will only override the default innodb_ lock_wait_ timeout= 1.