Details
Assignee
UnassignedUnassignedReporter
john danilsonjohn danilsonPriority
MediumComponents
Affects versions
Details
Details
Assignee
Unassigned
UnassignedReporter
john danilson
john danilsonPriority
Components
Affects versions
Smart Checklist
Smart Checklist
Smart Checklist
Created September 21, 2020 at 12:13 PM
Updated May 17, 2024 at 3:07 PM
PTDEBUB is only evaluated by pt-online-schema-change at the beginning of execution. For a 55G alter, debug generated 643M of debug log. It was useful to determine an issue with pt-osc but once the issue was discovered, and the utility had run for over an hour, it would be useful to turn debug off. However, toggling the setting of PTDEBUG has no affect once the utility is running.
Utilities that utilized PTDEBUG should check the environment setting periodically to see if the value has changed and act accordingly so that debug can be enabled or disabled while the utility run.