Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-7171

[RESP] HINCRBY should be able to detect overflow

XMLWordPrintable

      Infinispan:

      127.0.0.1:11222> HSET hash n -9223372036854775484
      (integer) 0
      127.0.0.1:11222> HINCRBY hash n -10000
      (error) ERR index out of range
      

      Redis

      127.0.0.1:6379> HGET hash n
      "-9223372036854775484"
      127.0.0.1:6379> HINCRBY hash n -10000
      (error) ERR increment or decrement would overflow
      

              rh-ee-jbolina Jose Bolina
              rhn-support-pdrobek Pavel Drobek
              Pavel Drobek Pavel Drobek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: