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(streams): entries_read is not updated on xreadgroup command #1946

Merged
merged 1 commit into from Sep 27, 2023

Conversation

theyueli
Copy link
Contributor

fixes #1945

@theyueli theyueli added the bug Something isn't working label Sep 27, 2023
@theyueli theyueli self-assigned this Sep 27, 2023
@theyueli theyueli merged commit bcdebc3 into dragonflydb:main Sep 27, 2023
7 checks passed
/* The lag of a newly-initialized stream is 0. */
lag = 0;
valid = 1;
} else if (cg->entries_read != SCG_INVALID_ENTRIES_READ && !streamRangeHasTombstones(s,&cg->last_id,NULL)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NULL 😛

And this doesn't look formatted hmmm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

entries_read is not updated on xreadgroup command
3 participants