You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@geode.apache.org by GitBox <gi...@apache.org> on 2020/06/24 08:28:39 UTC

[GitHub] [geode] dschneider-pivotal commented on a change in pull request #5282: GEODE-8288: Match Redis's glob-style pattern

dschneider-pivotal commented on a change in pull request #5282:
URL: https://github.com/apache/geode/pull/5282#discussion_r444730179



##########
File path: geode-redis/src/main/java/org/apache/geode/redis/internal/executor/key/KeysExecutor.java
##########
@@ -45,7 +47,10 @@ public RedisResponse executeCommand(Command command,
     try {
       pattern = GlobPattern.compile(glob);
     } catch (PatternSyntaxException e) {
-      return RedisResponse.error(ERROR_ILLEGAL_GLOB);
+      logger.debug(

Review comment:
       Instead of debug, it seems like this should be a warning. Also the log message should mention that it was a pattern given to the KEYS command. Maybe the last sentence could be changed to "KEYS will return an empty list."
   Also it seems like you should have some quotes around the curlies for the e.getMessage() and a period after the closing quote.




----------------------------------------------------------------
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:
users@infra.apache.org