-
Notifications
You must be signed in to change notification settings - Fork 999
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
Add store test case for GeoRadiusByMember #2149
Add store test case for GeoRadiusByMember #2149
Conversation
Signed-off-by: azuredream <[email protected]>
Hi @romange , I've added two use cases for STORE and STOREDIST. They store the query result(with hash or dist) into a key(zset). |
@azuredream sure, I will take a look. Meanwhile please see https://redis.io/commands/geosearch/ examples. |
Thanks. I'll fix it. |
Signed-off-by: Roman Gershman <[email protected]>
@azuredream I think I fixed the transactional code to support GEORADIUSBYMEMBER. |
of course you need two hops only if the STORE option exist, otherwise you proceed like today. |
Thanks, I'll update my code accordingly. |
Signed-off-by: azuredream <[email protected]>
Signed-off-by: azuredream <[email protected]>
Hi Romange,
The first unit test case worked as well. However, the second test case failed. Please note that this command worked in CLI. When I used GDB to run the test case line by line, it worked again. I suppose it's something to do with the schedule-execute model. |
Signed-off-by: azuredream <[email protected]>
Hello @azuredream , thank you for continuing working on this. Can you please try rebasing the branch and fixing the conflicts? |
25694c4
to
bbf7a1c
Compare
I'll reopen a new PR based on the latest main. |
#1548