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

[RESP] EXPIRE - Infinispan ignore incompatible options

XMLWordPrintable

    • False
    • None
    • False

      Infinispan ignores incompatible EXPIRE options: LT/GT, NX/LT, NX/GT, NX/XX

      Infinispan:

      127.0.0.1:11222> set foo bar
      OK
      127.0.0.1:11222> expire foo 200 LT GT
      (integer) 1
      127.0.0.1:11222> expire foo 200 LT NX
      (integer) 1
      127.0.0.1:11222> expire foo 200 GT NX
      (integer) 1
      127.0.0.1:11222> expire foo 200 NX XX
      (integer) 1
      

      Redis:

      127.0.0.1:6379> set foo bar
      OK
      127.0.0.1:6379> EXPIRE foo 200 LT GT
      (error) ERR GT and LT options at the same time are not compatible
      127.0.0.1:6379> EXPIRE foo 200 LT NX
      (error) ERR NX and XX, GT or LT options at the same time are not compatible
      127.0.0.1:6379> EXPIRE foo 200 GT NX
      (error) ERR NX and XX, GT or LT options at the same time are not compatible
      127.0.0.1:6379> EXPIRE foo 200 NX XX
      (error) ERR NX and XX, GT or LT options at the same time are not compatible
      

            Unassigned Unassigned
            rhn-support-pdrobek Pavel Drobek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: