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

Document FORCE_WRITE_LOCK not working in non-tx caches

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 9.4.0.CR3
    • 9.3.1.Final
    • Documentation
    • None

      The user guide mentions Flag.FORCE_WRITE_LOCK in the context of pessimistic transactions but it does not say what this does in non-transactional caches.

      In non-tx cache it does not work since when on backup owner, the get() just reads the value. It does not go to primary to lock there. When on non-owner, it reads from some other owner but not necessarily from the primary. The flag does not force the command to acquire locks remotely.

      To put it in other words, it works only scarcely = it does not work.

            dnaro@redhat.com Donald Naro
            rvansa1@redhat.com Radim Vansa (Inactive)
            Diego Lovison Diego Lovison
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: