pt-online-schema-change requests password twice
Bug #1286250 reported by
markus_albe
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Toolkit moved to https://jira.percona.com/projects/PT |
Fix Released
|
Medium
|
Frank Cizmich |
Bug Description
~/sandboxes/
Enter MySQL password:
Enter MySQL password:
Operation, tries, wait:
copy_rows, 10, 0.25
create_triggers, 10, 1
drop_triggers, 10, 1
swap_tables, 10, 1
~/sandboxes/
pt-online-
Near line 7937 we can see (thanks Ernie Souhrada)
my $cxn = $make_cxn->(dsn => $dsn);
my $aux_cxn = $make_cxn->(dsn => $dsn, prev_dsn => $dsn);
Guess it should ask for pass only once? We fixed with globals, but I presume that won't be accepted as patch.
Related branches
lp:~percona-toolkit-dev/percona-toolkit/pt-osc-requests-password-twice-1286250
- Daniel Nichter: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedbin/pt-online-schema-change (+1/-1)
tags: | added: i39404 |
Changed in percona-toolkit: | |
status: | Fix Committed → In Progress |
Changed in percona-toolkit: | |
status: | In Progress → Fix Committed |
Changed in percona-toolkit: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Confirmed on pt-osc version since 2.2.1 to 2.2.7, not seen on pt-osc versions 2.1.x or 2.0.x /home/percona# pt-online- schema- change --user root --ask-pass --alter="MODIFY COLUMN i VARCHAR(255)" D=test,t=tbl_test --dry-run foreign_ keys, 10, 1
root@ubuntu:
Enter MySQL password:
Enter MySQL password:
Operation, tries, wait:
copy_rows, 10, 0.25
create_triggers, 10, 1
drop_triggers, 10, 1
swap_tables, 10, 1
update_