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

[NEW]Stream length add range support #8795

Closed
WeihanLi opened this issue Apr 16, 2021 · 3 comments
Closed

[NEW]Stream length add range support #8795

WeihanLi opened this issue Apr 16, 2021 · 3 comments
Labels
state:to-be-closed requesting the core team to close the issue status:duplicate

Comments

@WeihanLi
Copy link

The problem/use-case that the feature addresses

Now, when I wanna get how many messages by a message id range, I had to get all the matched entries, but the entry maybe very large, I just want to get a matched count.

Description of the feature

Maybe we could add range support for XLEN, for example:

XLEN my-stream
XLEN my-stream - +
XLEN my-stream 1618554313653-0 +

Alternatives you've considered

I'm not very familiar with the redis internals, had no other ideas on this.

@itamarhaber itamarhaber added state:to-be-closed requesting the core team to close the issue status:duplicate labels Apr 18, 2021
@itamarhaber
Copy link
Member

Hi @WeihanLi

This looks like a duplicate of #5813.

@WeihanLi
Copy link
Author

Yeah, my bad, I'll close this

@itamarhaber
Copy link
Member

Thanks! No worries, but any additional feedback you have is welcome in that ticket naturally :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state:to-be-closed requesting the core team to close the issue status:duplicate
Projects
None yet
Development

No branches or pull requests

2 participants