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

streams group中的entries-read不同步 #741

Open
wangshuang0220 opened this issue Dec 25, 2023 · 1 comment
Open

streams group中的entries-read不同步 #741

wangshuang0220 opened this issue Dec 25, 2023 · 1 comment
Labels
type: bug Something isn't working type: question Further information is requested

Comments

@wangshuang0220
Copy link

问题描述(Issue Description)

请在这里简要描述你遇到的问题。
源端通过xinfo groups命名查看entries-read有值,同步过来通过
XINFO GROUPS xxx entries-read字段没有值了。

环境信息(Environment)

  • RedisShake 版本(RedisShake Version):4.0.2
  • Redis 源端版本(Redis Source Version):redis7
  • Redis 目的端版本(Redis Destination Version):redis7
  • Redis 部署方式(standalone/cluster/sentinel):cluster
  • 是否在云服务商实例上部署(Deployed on Cloud Provider):
@wangshuang0220 wangshuang0220 added the type: question Further information is requested label Dec 25, 2023
@suxb201
Copy link
Member

suxb201 commented Dec 25, 2023

if typeByte == rdbTypeStreamListpacks2 {
/* Load the first entry ID. */
_ = structure.ReadLength(rd) // first_ms
_ = structure.ReadLength(rd) // first_seq
/* Load the maximal deleted entry ID. */
_ = structure.ReadLength(rd) // max_deleted_ms
_ = structure.ReadLength(rd) // max_deleted_seq
/* Load the offset. */
_ = structure.ReadLength(rd) // offset
}

是的,154 行的写法直接丢弃了这个值。

@suxb201 suxb201 added the type: bug Something isn't working label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working type: question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants