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

[BUG] Stream lag seems to not be correctly replicated on slave #13336

Open
Hackatosh opened this issue Jun 11, 2024 · 2 comments
Open

[BUG] Stream lag seems to not be correctly replicated on slave #13336

Hackatosh opened this issue Jun 11, 2024 · 2 comments
Labels

Comments

@Hackatosh
Copy link

Describe the bug

We use master/slave with sentinels architecture. We use the slaves to compute metrics about our usage of redis streams without hurting the performance of the master node.

We upgraded recently to Redis version 7, and we tried to use the lag field returned by the XINFO GROUPS command (https://redis.io/docs/latest/commands/xinfo-groups/) to compute our metrics, but its value seems incorrect on the slave. We can have of value of 0 on our master but have a value of more than 8000 on our slave.

Expected behavior

We expected lag field to be the same on both master and slave

Additional information

Redis Version : 7.2.5

@Hackatosh
Copy link
Author

Is it related to f17381a ? 🤔

@sundb
Copy link
Collaborator

sundb commented Jun 11, 2024

@Hackatosh likely, but it's not possible to determine from the info you gave, can you try 7.4rc1 in your development enviroment to verify it? thanks.

@sundb sundb added the streams label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants