Repository navigation
Keyspace event for new keys - #10512
Merged
Merged
Conversation
oranagra
reviewed
Apr 4, 2022
oranagra
left a comment
Member
There was a problem hiding this comment.
We can't extend 6.2 with new capabilities now, and this almost missed the 7.0 train too.
I'm quite sure this was already discussed quite a lot in the past, but i don't recall the arguments / decision.
@itamarhaber are you aware of any?
Member
This was
linked to
issues
Apr 5, 2022
oranagra
approved these changes
Apr 5, 2022
Member
madolson
approved these changes
Apr 12, 2022
Member
|
This was approved today in a core-team meeting, to be part of 7.0.0. |
oranagra
pushed a commit
to redis/redis-doc
that referenced
this pull request
Apr 25, 2022
Document the changes in redis/redis#10512 Co-authored-by: Kyle Banker <[email protected]>
Merged
oranagra
pushed a commit
that referenced
this pull request
May 8, 2022
this seems to have been an oversight. syncing the flags so that NOTIFY_NEW is available to modules. missing in #10512
enjoy-binbin
pushed a commit
to enjoy-binbin/redis
that referenced
this pull request
Jul 31, 2023
Add an optional keyspace event when new keys are added to the db. This is useful for applications where clients need to be aware of the redis keyspace. Such an application can SCAN once at startup and then listen for "new" events (plus others associated with DEL, RENAME, etc).
enjoy-binbin
pushed a commit
to enjoy-binbin/redis
that referenced
this pull request
Jul 31, 2023
) this seems to have been an oversight. syncing the flags so that NOTIFY_NEW is available to modules. missing in redis#10512
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add an optional keyspace event when new keys are added to the db.
This is useful for applications where clients need to be aware of the redis keyspace. Such an application can SCAN once at startup and then listen for "new" events (plus others associated with DEL, RENAME, etc).
I was unsure if this should be included in the 'A' event class, so I left that out and documented.
It would be great if this could make it into the next 6.2.x release as well as 7.
to do: