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

[RESP] BLPOP with LPUSH + DEL on OPTIMISTIC locking cache isn't able to aquire a lock

XMLWordPrintable

    • False
    • None
    • False

      Running the blocking request and transaction alongside with transaction cache with optimistic locking fails on LPUSH after the transaction proceeded. See attached server error log.

      Client A:

      127.0.0.1:11222> blpop rlist 0
      (error) ERR Transaction marked as rollback only.
      (19.59s)
      

      Client B:

      127.0.0.1:11222> multi
      OK
      127.0.0.1:11222(TX)> lpush rlist a
      QUEUED
      127.0.0.1:11222(TX)> del rlist a
      QUEUED
      127.0.0.1:11222(TX)> exec
      1) (integer) 1
      2) (integer) 1
      127.0.0.1:11222> lpush rlist a
      (integer) 1
      (15.01s)
      

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

                Created:
                Updated: