Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-ost 的ghost_initially_drop_socket_file 参数不生效 #382

Closed
myocm opened this issue Sep 10, 2021 · 4 comments
Closed

gh-ost 的ghost_initially_drop_socket_file 参数不生效 #382

myocm opened this issue Sep 10, 2021 · 4 comments
Labels
wontfix This will not be worked on

Comments

@myocm
Copy link

myocm commented Sep 10, 2021

描述
gh-ost 的 ghost_initially_drop_socket_file 参数不生效

重现
使用 gh-ost 修改表结构过程中,终止掉 osc进程
此时数据库有
_表名_ghc
_表名_gho
两个临时表

gh-ost.数据库.表名.sock
socket 文件

手动删除
_表名_ghc
_表名_gho
两个临时表
保留 gh-ost.数据库.表名.sock socket 文件

查看 ghost 配置
inception show variables like 'ghost%';
| ghost_initially_drop_socket_file | true |

重新执行表结构修改
报 listen unix socket file already in use. 错误

手工使用官方gh-ost ,而不使用 goInception 执行表结构修改时,可以删除socket文件,正常执行。

环境

参数
ghost_initially_drop_socket_file

@stale
Copy link

stale bot commented Oct 1, 2021

由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃issue关闭。感谢你对本项目的贡献。 This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label Oct 1, 2021
@stale stale bot closed this as completed Oct 11, 2021
@hanchuanchuan
Copy link
Owner

该问题已修复,稍后发布新版本。

@hanchuanchuan
Copy link
Owner

升级到v1.2.4-110版本后重试。

@dbadylan
Copy link

这个问题应该还是存在:

企业微信20220523-230446@2x

企业微信20220523-230136@2x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

3 participants