goInception icon indicating copy to clipboard operation
goInception copied to clipboard

ghost_initially_drop_socket_file 参数开启后不生效

Open majingpu opened this issue 3 years ago • 4 comments

描述 ghost_initially_drop_socket_file 参数开启后不生效 image

重现 version:v1.2.5-51-gc9d9d9

执行DDL变更语句,手动终止gh-ost进程。 会生成两张*_ghc、*_gho表和 *.socket文件 image image

重新提交同样的sql后,会报错: listen unix socket file already in use. image

环境

  • 数据库: [mysql]
  • 版本: [例如 5.7]

参数 ghost_initially_drop_socket_file = true

majingpu avatar Aug 02 '22 06:08 majingpu

需要手动删除socket_file文件

majingpu avatar Aug 02 '22 06:08 majingpu

ghost_initially_drop_socket_file参数未开启, 以避免同时操作同一实例/同一表时可能造成的冲突. 旧版本对socket_file处理有bug,建议升级到最新版本.

hanchuanchuan avatar Aug 07 '22 08:08 hanchuanchuan

我先升级到最近版本: v1.3.0-5-gf145ffe 验证下。

majingpu avatar Aug 08 '22 03:08 majingpu

image 看起来还是一样的问题。 goinception version:v1.3.0-5-gf145ffe

majingpu avatar Aug 08 '22 12:08 majingpu

@hanchuanchuan 这个有修复计划吗?

majingpu avatar Aug 16 '22 05:08 majingpu

升级后需要手动清理一次goinception所在机器/tmp下面对应的socket文件.

hanchuanchuan avatar Aug 28 '22 12:08 hanchuanchuan

由于此问题没有最近的活动,因此已被自动标记为陈旧。如果没有进一步的活动,会作为不活跃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[bot] avatar Sep 21 '22 03:09 stale[bot]