Skip to content

config get notify-keyspace-events incorrect result #1491

Closed

Description

@andreasdamm

When setting notify-keyspace-events to anything including 'A', then only ever 'A' is returned when executing 'config get notify-keyspace-events'. No indication is provided as whether 'K' and/or 'E' are enabled.

The problem seems to be in notify.c:keyspaceEventsFlagsToString which immediately returns 'A' when REDIS_NOTIFY_ALL is matched without checking REDIS_NOTIFY_KEYSPACE or REDIS_NOTIFY_KEYEVENT.

Activity

  1. antirez commented on Jan 8, 2014

    @antirez
    Contributor

    Thanks, fixed.

  2. added a commit that references this issue on May 25, 2026
    b6b96ba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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