-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Negative maxlen for XAddOptions is ignored #2982
Comments
spring-projects-issues
added
the
status: waiting-for-triage
An issue we've not yet triaged
label
Sep 3, 2024
mp911de
added
type: bug
A general bug
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Sep 3, 2024
We have a similar case with |
@mp911de, |
Sounds good, feel free to address both concerns within a single pull request. |
mp911de
added
the
status: ideal-for-contribution
An issue that a contributor can help us with
label
Sep 4, 2024
jinkshower
added a commit
to jinkshower/spring-data-redis
that referenced
this issue
Sep 8, 2024
4 tasks
mp911de
removed
the
status: ideal-for-contribution
An issue that a contributor can help us with
label
Sep 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This issue refers to a comment in #2936
As we now can use XAddOptions in streamOperations,
This executes without throwing an error or warning the client. Instead, the result is that the maxlen option is not applied.
IMO, this is because the XAddOptions hasMaxlen() method gets called before every time XAddOptions is used, and it checks maxlen > 0, which results in ignoring negative values for maxlen.
The text was updated successfully, but these errors were encountered: