Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-14066

RESP server hangs if incr/decr is called on a non integer value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 14.0.0.Final
    • 14.0.0.Final
    • RESP
    • None

      DECR/INCR commands can hang indefinitely if the value is not an integer

      fabrizioasta@MacBook-Pro-di-Fabrizio ~ % redis-cli -p 11222 --user user --pass password
      Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe.
      127.0.0.1:11222> set 1 1
      OK
      127.0.0.1:11222> decr 1
      (integer) 0
      127.0.0.1:11222> decr 1
      (integer) -1
      127.0.0.1:11222> set hello world
      OK
      127.0.0.1:11222> decr hello
       

              wburns@redhat.com Will Burns
              wburns@redhat.com Will Burns
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: