cookieY / Yearning

🐳 A most popular sql audit platform for mysql
http://next.yearning.io/
GNU Affero General Public License v3.0
8.43k stars 1.98k forks source link

[Question] 开启审核规则启用OSC,OSC进度sh: pt-online-schema-change: not found #1044

Closed so-easy closed 1 month ago

so-easy commented 4 months ago

描述问题 开启审核规则启用OSC,执行sql成功 OSC进度sh: pt-online-schema-change: not found

复现 重现该行为的步骤:

  1. 开启osc
  2. sql:alter table pt_online_test add column xxxx varchar(255) NOT NULL DEFAULT '' COMMENT 'xxxx';
  3. 执行成功,OSC进度sh: pt-online-schema-change: not found

期望的结果 开启审核规则启用OSC,执行sql成功 OSC进度正常

截图

image

部署方式

环境 (请填写环境信息):

额外的日志信息 Yearning © 2018-2024 Created by HenryYee ver.3.1.7

Issues-translate-bot commented 4 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Question] Open audit rules and enable OSC, OSC progress sh: pt-online-schema-change: not found

cookieY commented 4 months ago

pt-osc需要自行安装在宿主机上

Issues-translate-bot commented 4 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


pt-osc needs to be installed on the host machine by itself