adds --where param to pt-online-schema-change

Description

Add the --where parameter, to be applied only on the query that gets the first Lower boundary of the first chunk

 

 

 

That way, we can emulate a "resume" operation, but in reality is just a new pt-osc run, but without starting from the beginning of the table.

 

Higher boundary of the latest chunk can be written to the stdout and or to a mysql table so the tool knows where to start.

Environment

None

Smart Checklist

Activity

Done

Details

Assignee

Reporter

Priority

Components

Fix versions

Smart Checklist

Created August 8, 2019 at 9:13 PM
Updated June 12, 2024 at 5:29 PM
Resolved February 5, 2024 at 10:56 AM