[ https://issues.apache.org/jira/browse/GEODE-8668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17222219#comment-17222219 ]
ASF GitHub Bot commented on GEODE-8668: --------------------------------------- sabbey37 opened a new pull request #5682: URL: https://github.com/apache/geode/pull/5682 Co-authored-by: Hale Bales <hba...@pivotal.io> We are implementing [SELECT](https://redis.io/commands/select) because some Redis analysis tools (like Redis Insight) require the `SELECT` command in order to function properly. Since Geode Redis is similar to Redis in cluster mode in that currently it only supports database zero, we emulated the behavior of `SELECT` in cluster mode. Only database zero may be selected. All other valid DB indices (from -9223372036854775807 to 9223372036854775807) return the same error as Redis in Cluster mode: `ERR SELECT is not allowed in cluster mode`. Any DB indices that cannot be parsed as a long will return the error: `ERR invalid DB index` Thank you for submitting a contribution to Apache Geode. In order to streamline the review of the contribution we ask you to ensure the following steps have been taken: ### For all changes: - [ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message? - [ ] Has your PR been rebased against the latest commit within the target branch (typically `develop`)? - [ ] Is your initial contribution a single, squashed commit? - [ ] Does `gradlew build` run cleanly? - [ ] Have you written or updated unit tests to verify your changes? - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)? ### Note: Please ensure that once the PR is submitted, check Concourse for build issues and submit an update to your PR as soon as possible. If you need help, please send an email to d...@geode.apache.org. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Implement cluster mode version of Redis SELECT command > ------------------------------------------------------ > > Key: GEODE-8668 > URL: https://issues.apache.org/jira/browse/GEODE-8668 > Project: Geode > Issue Type: Improvement > Components: redis > Reporter: Sarah Abbey > Priority: Major > > - Remains in 'Unsupported' for now > - Only supports DB 0 > - Gives same error for any valid DB index (-9223372036854775807 to > 9223372036854775807) as Redis in Cluster mode: > `ERR SELECT is not allowed in cluster mode` -- This message was sent by Atlassian Jira (v8.3.4#803005)