Skip to content

[NEW] add keyspace notification for key-created #10373

Closed

Description

@zalmane

The problem/use-case that the feature addresses
The current keyspace notifications do not distinguish between creation of a key or updating an existing key. This is especially important in the case of Streams, as the stream is created upon first XADD.

Description of the feature

Add a keyspace notification even of 'key-created' along with the key name

Alternatives you've considered

Existing keyspace notifications can not provide an answer. The workaround, in case of Redis Gears, is to hold some flag if this was the first update, although this is a clunky solution at best.

Additional information

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions