Skip to content

support NOMKSTREAM option in xadd command#7910

Merged
oranagra merged 2 commits intoredis:unstablefrom
hwware:xadd_nomkstream
Oct 18, 2020
Merged

support NOMKSTREAM option in xadd command#7910
oranagra merged 2 commits intoredis:unstablefrom
hwware:xadd_nomkstream

Conversation

@hwware
Copy link
Contributor

@hwware hwware commented Oct 14, 2020

This PR introduces a NOMKSTREAM option for xadd command, this would be useful for some use cases when we do not want to create new stream by default:

XADD key [MAXLEN [~|=] <count>] <ID or *> <NOMKSTREAM> [field value] [field value]

Fixes: #6204

@hwware hwware force-pushed the xadd_nomkstream branch 2 times, most recently from 8c21c76 to 398eee5 Compare October 16, 2020 01:40
@madolson madolson added the state:major-decision Requires core team consensus label Oct 16, 2020
Copy link
Contributor

@madolson madolson left a comment

Choose a reason for hiding this comment

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

Otherwise looks good to me, also added the major decision tag.

madolson
madolson previously approved these changes Oct 16, 2020
Copy link
Contributor

@madolson madolson left a comment

Choose a reason for hiding this comment

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

I'm not sure why the build is broken, but I'm good with this otherwise.

@hwware
Copy link
Contributor Author

hwware commented Oct 16, 2020

hi @madolson , the build error seems unrelated, not sure how this happens but it seems like the environment was broken for missing some dependencies..

@oranagra oranagra added release-notes indication that this issue needs to be mentioned in the release notes state:needs-doc-pr requires a PR to redis-doc repository state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten labels Oct 16, 2020
@oranagra
Copy link
Member

@redis/core-team please approve a new XADD flag.
@hwware can you please prepare a redis-doc PR for this (mention it's supported starting 6.2)

@oranagra oranagra merged commit f328194 into redis:unstable Oct 18, 2020
@oranagra
Copy link
Member

@hwware merged. please don't forget the redis-doc PR.

@oranagra oranagra added this to the Next minor backlog milestone Oct 18, 2020
@hwware
Copy link
Contributor Author

hwware commented Oct 19, 2020

@oranagra will do, thanks for the reminder

@oranagra oranagra removed this from the Next minor backlog milestone Oct 19, 2020
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Nov 4, 2020
introduces a NOMKSTREAM option for xadd command, this would be useful for some
use cases when we do not want to create new stream by default:

XADD key [MAXLEN [~|=] <count>] [NOMKSTREAM] <ID or *> [field value] [field value]
@oranagra oranagra mentioned this pull request Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes indication that this issue needs to be mentioned in the release notes state:major-decision Requires core team consensus state:needs-doc-pr requires a PR to redis-doc repository state:to-be-merged The PR should be merged soon, even if not yet ready, this is used so that it won't be forgotten

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Streams feature request: XADD support NOMKSTREAM

4 participants