enjoy-binbin opened a new pull request, #2055:
URL: https://github.com/apache/kvrocks/pull/2055

   For store key related commands, we cannot extract the store
   key, see #2051. This PR adds store_key to CommandKeyRange to
   represent its index.
   
   This PR handle these store key commands:
   - zunionstore
   - zinterstore
   - zdiffstore
   - georadius
   - georadiusbymember
   - geosearchstore
   
   before:
   ```
   > command getkeys zinterstore dst 2 src1 src2
   1) "src1"
   2) "src2"
   > command getkeys GEORADIUS src 1 1 1 km store dst
   1) "src"
   > command getkeys GEORADIUSBYMEMBER src member radius m store dst
   1) "src"
   > command getkeys GEOSEARCHSTORE dst src frommember member byradius 10 m
   1) "dst"
   ```
   
   after:
   ```
   > command getkeys zinterstore dst 2 src1 src2
   1) "dst"
   2) "src1"
   3) "src2"
   > command getkeys GEORADIUS src 1 1 1 km store dst
   1) "src"
   2) "dst"
   > command getkeys GEORADIUSBYMEMBER src member radius m store dst
   1) "src"
   2) "dst"
   > command getkeys GEOSEARCHSTORE dst src frommember member byradius 10 m
   1) "dst"
   2) "src"
   ```


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to