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

Stream entry displays do not paginate for streams using explicit IDs #5273

Open
DALDEI opened this issue Nov 22, 2022 · 1 comment
Open

Stream entry displays do not paginate for streams using explicit IDs #5273

DALDEI opened this issue Nov 22, 2022 · 1 comment
Labels

Comments

@DALDEI
Copy link

DALDEI commented Nov 22, 2022

When using a stream created where the Stream ID's are assigned manually, and sequentually, the Stream listing of entries does not display correctly when you navigate to 'Next page'.
The "#" column increments but the same rows are displayed.
Result is you can only access up to 1 'page' of these streams and cannot access any more.

2022-11-22 09_00_13-Clipboard
2022-11-22 09_00_37-CDS – console_6  outcome-prod-bs  2

@DALDEI DALDEI added the bug label Nov 22, 2022
@DALDEI
Copy link
Author

DALDEI commented Nov 28, 2022

I reproduced this on a 'normal use case'; for streams, where the stream IDs are assigned by redis.
Same results.
Looking at the Log It is clear why

These log lines are from
Click on stream key at left nav
Open stream
Click the next page button ">" many times
On screen it shows going frofm page 1,2,3,..7
The row numbers in the table are incrementing but the data is unchanged
logs show that after the first page it is using the same query for every page.
XREVRANGE has no state so each will return the same result.

Connection: AWSRedis > [runCommand] ttl {cpay}/s3|cpay.event
Connection: AWSRedis > [runCommand] XINFO STREAM {cpay}/s3|cpay.event
Connection: AWSRedis > [runCommand] XREVRANGE {cpay}/s3|cpay.event + - COUNT 100
Connection: AWSRedis > [runCommand] XREVRANGE {cpay}/s3|cpay.event + 1636836564530-0 COUNT 100
Connection: AWSRedis > [runCommand] XREVRANGE {cpay}/s3|cpay.event + 1636836564530-0 COUNT 100
Connection: AWSRedis > [runCommand] XREVRANGE {cpay}/s3|cpay.event + 1636836564530-0 COUNT 100
Connection: AWSRedis > [runCommand] XREVRANGE {cpay}/s3|cpay.event + 1636836564530-0 COUNT 100
Connection: AWSRedis > [runCommand] XREVRANGE {cpay}/s3|cpay.event + 1636836564530-0 COUNT 100
Connection: AWSRedis > [runCommand] XREVRANGE {cpay}/s3|cpay.event + 1636836564530-0 COUNT 100

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

1 participant