Skip to content

使用redis-shake同步时源端报错Write error sending DB to replica: Broken pipe #995

Description

@yzert

问题描述(Issue Description)

请在这里简要描述你遇到的问题。

Please provide a brief description of the issue you encountered.

使用redis-shake同步时源端报错Write error sending DB to replica: Broken pipe shake进程中断无法持续同步
使用背景:五主五从集群,扩容至八主八从,手动迁移过slots,后无法持同步

环境信息(Environment)

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

日志信息(Logs)

如果有错误日志或其他相关日志,请在这里提供。

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

源端日志

3868208:M 01 Nov 2025 18:39:07.513 * Background saving terminated with success
3868208:M 01 Nov 2025 20:07:59.888 # Write error sending DB to replica: Broken pipe
3868208:M 01 Nov 2025 20:07:59.888 # Connection with replica client id #5643899 lost.

目标端日志
2025/11/01 20:07:59 [PANIC] read error, please check source redis log or network
[error]: EOF
[stack]:
1 github.com/alibaba/RedisShake/redis-shake/common/utils.go:927
github.com/alibaba/RedisShake/redis-shake/common.Iocopy
0 github.com/alibaba/RedisShake/redis-shake/dbSync/syncBegin.go:92
github.com/alibaba/RedisShake/redis-shake/dbSync.(*DbSyncer).runIncrementalSync
... ...

其他信息(Additional Information)

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: questionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions