Merge lp:~percona-toolkit-dev/percona-toolkit/pt-online-schema-change-doesnt-work-with-HASH-indexes-1340728 into lp:~percona-toolkit-dev/percona-toolkit/release-2.2.10
Proposed by
Frank Cizmich
Status: | Merged |
---|---|
Approved by: | Daniel Nichter |
Approved revision: | 621 |
Merged at revision: | 613 |
Proposed branch: | lp:~percona-toolkit-dev/percona-toolkit/pt-online-schema-change-doesnt-work-with-HASH-indexes-1340728 |
Merge into: | lp:~percona-toolkit-dev/percona-toolkit/release-2.2.10 |
Diff against target: |
288 lines (+116/-111) 5 files modified
bin/pt-online-schema-change (+40/-33) t/pt-online-schema-change/bug-1315130.t (+0/-78) t/pt-online-schema-change/bugs.t (+64/-0) t/pt-online-schema-change/samples/bug-1340728.sql (+10/-0) t/pt-online-schema-change/samples/bug-1340728_cleanup.sql (+2/-0) |
To merge this branch: | bzr merge lp:~percona-toolkit-dev/percona-toolkit/pt-online-schema-change-doesnt-work-with-HASH-indexes-1340728 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Nichter | Approve | ||
Review via email: mp+228726@code.launchpad.net |
Description of the change
Intended to make pt-osc work with engines that allow a HASH index (MEMORY , NDB) . When issued the EXPLAIN query, this type of index sometimes doesn't select a primary key even though it's available.
This fix makes the --nocheck-plan option skip *all* checks on the key chosen by EXPLAIN.
To post a comment you must log in.
We talked on IRC about some changes. I'll set this as "Needs Fixing" until then.