-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[8.6] Xadd changes #3161
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
base: master
Are you sure you want to change the base?
[8.6] Xadd changes #3161
Conversation
| matrix: | ||
| node-version: ["18", "20", "22"] | ||
| redis-version: ["rs-7.4.0-v1", "8.0.2", "8.2", "8.4.0"] | ||
| redis-version: ["rs-7.4.0-v1", "8.0.2", "8.2", "custom-21183968220-debian-amd64"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we replace 8.0.2 instead of 8.4.0?
| export interface XAddOptions { | ||
| /** added in 8.2 */ | ||
| policy?: StreamDeletionPolicy; | ||
| /** added in 8.2 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be 8.6?
| IDMPAUTO?: { | ||
| pid: RedisArgument; | ||
| }; | ||
| /** added in 8.2 */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be 8.6?
| * | ||
| * | ||
| * @property policy - Reference tracking policy for the entry (KEEPREF, DELREF, or ACKED) - added in 8.2 | ||
| * @property IDMPAUTO - Automatically calculate an idempotent ID based on entry content to prevent duplicate entries - added in 8.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should say 8.6?
| * @property policy - Reference tracking policy for the entry (KEEPREF, DELREF, or ACKED) - added in 8.2 | ||
| * @property IDMPAUTO - Automatically calculate an idempotent ID based on entry content to prevent duplicate entries - added in 8.2 | ||
| * @property IDMPAUTO.pid - Producer ID, must be unique per producer and consistent across restarts | ||
| * @property IDMP - Use a specific idempotent ID to prevent duplicate entries - added in 8.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should say 8.6?
Description
NOTE: tests will fail for XINFO_STREAM command and that is expected and unrelated to this PR
https://docs.google.com/document/d/1RkGvTn_PhnU-LNrxJHTu08E4h5C3ZSIut6zS_cIl9dM
Checklist
npm testpass with this change (including linting)?