Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
This repository was archived by the owner on Jun 23, 2025. It is now read-only.

GET.WATCH Notified Unexpectedly on GET Operation #1653

@irounik

Description

@irounik

Steps to Reproduce

Open two terminals (T1 & T2)
T2:
GET.WATCH key1

T1:
SET key1 value1
GET key1

Expected output

T2 should get the "value1" for key "key1" only once.

T2:

localhost:7379> GET.WATCH key1
entered the watch mode for GET.WATCH key1
OK [fingerprint=765825083] value1

Observed output

T2 got "value1" twice. This is the first time for SET and the second for a GET command.

T2:

localhost:7379> GET.WATCH key1
entered the watch mode for GET.WATCH key1
OK [fingerprint=765825083] value1
OK [fingerprint=765825083] value1 // Got value for the second time when GET was called on T1

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