Skip to content

增量同步中报错,提示无法识别TIMESTAMP #957

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

Open
lixu0102 opened this issue May 14, 2025 · 4 comments
Open

增量同步中报错,提示无法识别TIMESTAMP #957

lixu0102 opened this issue May 14, 2025 · 4 comments
Labels
type: question Further information is requested

Comments

@lixu0102
Copy link

问题描述(Issue Description)

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

AWS到华为云Redis迁移,全量迁移没问题,但增量迁移提示REPLCONF参数TIMESTAMP无法识别

环境信息(Environment)

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

日志信息(Logs)

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

2025-05-14 18:16:15 INF AOFReader open file. aof filename=[9976561.aof]
2025-05-1418:16:15INF goroutine7[running]:[runtime/debug.Stack()1<-runtime/debug/stack.go:24+0x65[github.com/alibaba/Re
disShake/internal/1og.Panicf((0x7b2790,0x45),0xc0022zcf78,0x4,0x43)1-proxy-git.cwkhome.fun/alibabaRedisShake/internal/log/func.go:27
+0x36[github.comalibaba/RedisShake/internal/writer.(*rediswriter).flushInterua1(0xc00006c9c0)1<-github.com/alibaba/RedisShak
e/internal/writer/redis.go:80 +0x369 [created by github.com/alibaba/RedisShake/internal/writer.NewRediswriter1<-github.com/alib
aba/RedisShake/internal/writer/redis.go:36 +0x19c[
2025-05-14 18:16:15 PNC redisWriter received error. error=[ER Unrecogmized REPLCONF option: TIMESTAMP], argv=[REPLCONF TIMESTAM
P 1747217775382],slots=[],reply=[]
panic: redisWriter received error. error=[ERR Unrecogmized REPLCONF option: TIMESTAMP], argv=[REPLCONF TIMESTAMP 1747217775382l,
slots=[l, reply=[]

其他信息(Additional Information)

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

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

@lixu0102 lixu0102 added the type: question Further information is requested label May 14, 2025
@suxb201
Copy link
Member

suxb201 commented May 15, 2025

你的源端是不是魔改过?
建议通过 RedisShake 配置文件过滤掉 replconf 命令,不影响数据正确性的。

@lixu0102
Copy link
Author

源端是AWS 的ElastiCache,不确定是否有更改,如果从配置文件过滤掉reolconf,这个在配置文件中该如何配置呢?

@suxb201
Copy link
Member

suxb201 commented May 15, 2025

@lixu0102
Copy link
Author

这个过滤命令配置文件3.x版本有吗?

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

2 participants