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

redis shake容器化 #845

Closed
VincentWang1024 opened this issue Jul 18, 2024 · 4 comments
Closed

redis shake容器化 #845

VincentWang1024 opened this issue Jul 18, 2024 · 4 comments
Labels
type: question Further information is requested

Comments

@VincentWang1024
Copy link

VincentWang1024 commented Jul 18, 2024

问题描述(Issue Description)

关于health check设置问题,redis shake 是否支持health/ping endpoint?我们部署自制的image后,容器经常因为health check中断运行。

环境信息(Environment)

  • RedisShake 版本(RedisShake Version):v4
  • Redis 源端版本(Redis Source Version):6.2
  • Redis 目的端版本(Redis Destination Version):6.2
  • Redis 部署方式(standalone/cluster/sentinel):standlone
  • 是否在云服务商实例上部署(Deployed on Cloud Provider):yes

日志信息(Logs)

[90m2024-07-18 21:29:02[0m [32mINF[0m start syncing...
[90m2024-07-18 21:29:07[0m [32mINF[0m read_count=[16723], read_ops=[36.04], write_count=[16723], write_ops=[36.04], syncing aof, diff=[0]
[90m2024-07-18 21:29:12[0m [32mINF[0m read_count=[16763], read_ops=[2.00], write_count=[16763], write_ops=[2.00], syncing aof, diff=[0]
[90m2024-07-18 21:29:17[0m [32mINF[0m read_count=[16777], read_ops=[13.00], write_count=[16777], write_ops=[13.00], syncing aof, diff=[0]
[90m2024-07-18 21:29:22[0m [32mINF[0m read_count=[16849], read_ops=[0.00], write_count=[16849], write_ops=[0.00], syncing aof, diff=[0]
[90m2024-07-18 21:29:27[0m [32mINF[0m read_count=[16899], read_ops=[24.99], write_count=[16899], write_ops=[24.99], syncing aof, diff=[0]
[90m2024-07-18 21:29:32[0m [32mINF[0m read_count=[16939], read_ops=[17.01], write_count=[16939], write_ops=[17.01], syncing aof, diff=[0]
[90m2024-07-18 21:29:37[0m [32mINF[0m read_count=[16973], read_ops=[11.99], write_count=[16973], write_ops=[11.99], syncing aof, diff=[0]
[90m2024-07-18 21:29:42[0m [32mINF[0m read_count=[17001], read_ops=[0.00], write_count=[17001], write_ops=[0.00], syncing aof, diff=[0]
[90m2024-07-18 21:29:47[0m [32mINF[0m read_count=[17003], read_ops=[0.00], write_count=[17003], write_ops=[0.00], syncing aof, diff=[0]
[90m2024-07-18 21:29:52[0m [32mINF[0m read_count=[17042], read_ops=[17.01], write_count=[17042], write_ops=[17.01], syncing aof, diff=[0]
[90m2024-07-18 21:29:57[0m [32mINF[0m read_count=[17090], read_ops=[24.01], write_count=[17090], write_ops=[24.01], syncing aof, diff=[0]
[90m2024-07-18 21:30:02[0m [32mINF[0m read_count=[17111], read_ops=[2.00], write_count=[17111], write_ops=[2.00], syncing aof, diff=[0]
[90m2024-07-18 21:30:07[0m [32mINF[0m read_count=[17148], read_ops=[0.00], write_count=[17148], write_ops=[0.00], syncing aof, diff=[0]
[90m2024-07-18 21:30:12[0m [32mINF[0m read_count=[17188], read_ops=[6.00], write_count=[17188], write_ops=[6.00], syncing aof, diff=[0]
[90m2024-07-18 21:30:17[0m [32mINF[0m read_count=[17197], read_ops=[7.00], write_count=[17197], write_ops=[7.00], syncing aof, diff=[0]
[90m2024-07-18 21:30:22[0m [32mINF[0m read_count=[17261], read_ops=[17.01], write_count=[17261], write_ops=[17.01], syncing aof, diff=[0]
[90m2024-07-18 21:30:25[0m [32mINF[0m Got signal: terminated to exit.

If there are any error logs or other relevant logs, please provide them here.

其他信息(Additional Information)

请提供任何其他相关的信息,如配置文件、错误信息或截图等。

Please provide any additional information, such as configuration files, error messages, or screenshots.

@VincentWang1024 VincentWang1024 added the type: question Further information is requested label Jul 18, 2024
@suxb201
Copy link
Member

suxb201 commented Jul 19, 2024

  1. 请问:health/ping endpoint 是什么,是需要 handle 某类信号吗?
  2. 考虑贡献你们的镜像到 shake 仓库吗?shake 希望也能提供一个官方的容器镜像。

@VincentWang1024

This comment was marked as outdated.

@ikenchina
Copy link

可以使用redis-GunYu,有API来查看是否正常,https://github.com/mgtv-tech/redis-GunYu/blob/master/docs/API_zh.md#%E5%90%8C%E6%AD%A5%E7%8A%B6%E6%80%81%E4%BF%A1%E6%81%AF
也有官方容器镜像

@VincentWang1024
Copy link
Author

resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants