Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GEORADIUSBYMEMBER against non existing key reply #1691

Merged

Conversation

enjoy-binbin
Copy link
Member

Current GEORADIUSBYMEMBER against non existing key will
a NotFound error, which is wrong:

127.0.0.1:6666> georadiusbymember non-existing member 1 km
(error) ERR NotFound:

127.0.0.1:6379> georadiusbymember non-existing member 1 km
(empty array)

georadiusbymember_ro is the same since they share the code.

Current GEORADIUSBYMEMBER against non existing key will
a NotFound error, which is wrong:
```
127.0.0.1:6666> georadiusbymember non-existing member 1 km
(error) ERR NotFound:

127.0.0.1:6379> georadiusbymember non-existing member 1 km
(empty array)
```

georadiusbymember_ro is the same since they share the code.
Copy link
Contributor

@torwig torwig left a comment

Choose a reason for hiding this comment

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

LGTM. @enjoy-binbin, thank you for your rigorous checks.

@enjoy-binbin enjoy-binbin merged commit a426939 into apache:unstable Aug 23, 2023
26 checks passed
@enjoy-binbin enjoy-binbin deleted the fix_GEORADIUSBYMEMBER_reply branch August 23, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants