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

Default optimistic locking configuration leads to inconsistency

    XMLWordPrintable

Details

    Description

      Infinispan transactional caches are configured with optimistic locking by default. Without extra configuration (REPETEABLE_READ + writeSkews), concurrent replace() calls will return true under contention and transactions will commit.

      Under contention, even if replace() returns true for multiple resources, it should rollback all except one transaction.

      When transactional optimistic locking is enabled (default), it should enable all options required to make this scenarios correct.

      Attachments

        Issue Links

          Activity

            People

              gzamarre Galder ZamarreƱo
              gzamarre Galder ZamarreƱo
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: