Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30213

Fix Redis key/value store fetch of empty key list

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF43, 11.5, 2021.2
    • Component/s: Cache, Redis
    • Team:
      FG
    • Sprint:
      nxFG 11.3.1
    • Story Points:
      1

      Description

      When fetching entry with an empty key in a Redis cache, an error occurs:

      redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'mget' command
      	at redis.clients.jedis.Protocol.processError(Protocol.java:127) ~[jedis-2.9.0.jar:?]
      	at redis.clients.jedis.Protocol.process(Protocol.java:161) ~[jedis-2.9.0.jar:?]
      	at redis.clients.jedis.Protocol.read(Protocol.java:215) ~[jedis-2.9.0.jar:?]
      	at redis.clients.jedis.Connection.readProtocolWithCheckingBroken(Connection.java:340) ~[jedis-2.9.0.jar:?]
      	at redis.clients.jedis.Connection.getBinaryMultiBulkReply(Connection.java:276) ~[jedis-2.9.0.jar:?]
      	at redis.clients.jedis.BinaryJedis.mget(BinaryJedis.java:584) ~[jedis-2.9.0.jar:?]
      	at org.nuxeo.ecm.core.redis.contribs.RedisKeyValueStore.lambda$getValuesForKeys$6(RedisKeyValueStore.java:222) ~[nuxeo-core-redis-10.10-HF07.jar:?]
      	at org.nuxeo.ecm.core.redis.RedisPoolExecutor.execute(RedisPoolExecutor.java:63) ~[nuxeo-runtime-redis-10.10-HF27.jar:?]
      	at org.nuxeo.ecm.core.redis.RedisFailoverExecutor$1.retry(RedisFailoverExecutor.java:62) ~[nuxeo-runtime-redis-10.10-HF27.jar:?]
      	at org.nuxeo.ecm.core.redis.retry.Retry.retry(Retry.java:64) ~[nuxeo-runtime-redis-10.10-HF27.jar:?]
      	at org.nuxeo.ecm.core.redis.RedisFailoverExecutor.executeWithRetryPolicy(RedisFailoverExecutor.java:57) ~[nuxeo-runtime-redis-10.10-HF27.jar:?]
      	at org.nuxeo.ecm.core.redis.RedisFailoverExecutor.execute(RedisFailoverExecutor.java:43) ~[nuxeo-runtime-redis-10.10-HF27.jar:?]
      	at org.nuxeo.ecm.core.redis.contribs.RedisKeyValueStore.getValuesForKeys(RedisKeyValueStore.java:222) ~[nuxeo-core-redis-10.10-HF07.jar:?]
      	at org.nuxeo.ecm.core.redis.contribs.RedisKeyValueStore.get(RedisKeyValueStore.java:169) ~[nuxeo-core-redis-10.10-HF07.jar:?]
      	at 
      

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.