You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kvrocks.apache.org by "enjoy-binbin (via GitHub)" <gi...@apache.org> on 2023/09/18 07:30:40 UTC
[GitHub] [kvrocks] enjoy-binbin opened a new pull request, #1766: GEO FROMMEMBER returns error when member does not exist
enjoy-binbin opened a new pull request, #1766:
URL: https://github.com/apache/kvrocks/pull/1766
Redis will return a specific error if the member does not exist,
but Kvrocks currently handles it as if the src key does not exist:
```
127.0.0.1:6666> geoadd src 10 10 Shenzhen
(integer) 1
127.0.0.1:6666> GEOSEARCHSTORE dst src FROMMEMBER Shenzhen_2 BYBOX 88 88 m
(integer) 0
127.0.0.1:6379> GEOADD src 10 10 Shenzhen
(integer) 1
127.0.0.1:6379> GEOSEARCHSTORE dst src FROMMEMBER Shenzhen_2 BYBOX 88 88 m
(error) ERR could not decode requested zset member
```
Now we will return an error, the error message is the same
as Redis: could not decode requested zset member
```
127.0.0.1:6666> GEOSEARCHSTORE dst src FROMMEMBER Shenzhen_2 BYBOX 88 88 m
(error) ERR Invalid argument: could not decode requested zset member
127.0.0.1:6666> GEORADIUSBYMEMBER src Shenzhen_2 20 M STORE dst
(error) ERR Invalid argument: could not decode requested zset member
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [kvrocks] git-hulk merged pull request #1766: GEO FROMMEMBER returns error when member does not exist
Posted by "git-hulk (via GitHub)" <gi...@apache.org>.
git-hulk merged PR #1766:
URL: https://github.com/apache/kvrocks/pull/1766
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@kvrocks.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org