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

Cache.replace() succeeds on originator but fails randomly on remote owners during state transfer in DIST mode with pessimistic locking


    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 5.3.0.CR1, 5.3.0.Final
    • 5.2.5.Final
    • Core
    • None

      TxDistributionInterceptor.ignorePreviousValueOnBackup() should return true to force backups to apply the update (unless write skew check is enabled). Not doing so might lead to a situation where the key is not available locally yet (state transfer in progress) and will be fetched remotely from another owner that has already executed the conditional command. The previous value check would fail then. The check adds little value on backup owners so it should not be done at all.

            anistor Adrian Nistor (Inactive)
            anistor Adrian Nistor (Inactive)
            0 Vote for this issue
            1 Start watching this issue