pt-upgrade use a file as reference

Registered by Frederic Descamps on 2012-10-09

It would very nice if we could use pt-upgrade to generate a reference file that can be used afterwards without connecting to the reference box any more.

So let's capture data like usually, then it would be nice that pt-upgrade (with a certain option) creates a reference file with all the data it needs to perform the comparison like it does when it connect to a host (in this case it could connect to a host to generate that file).
The result is then a file that can be used to run pt-upgrade later to the same host or any other but instead of comparing two running hosts, it compares the result from the previous generated file and the result of playing the same (slow query) input to a running host.

That would be great to perform automated functional testing.

UPDATE: This was done in 2.2 as part of https://blueprints.launchpad.net/percona-toolkit/+spec/overhaul-pt-upgrade

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Approved
Assignee:
Daniel Nichter
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Daniel Nichter
Completed by
Daniel Nichter

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.