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

Server should enable writeSkew for some configurations by default

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 8.1.0.Alpha2, 8.1.0.Final
    • None
    • Server
    • None

    Description

      By default, optimistic locking caches do not enable write skew. This was already spotted in ISPN-3655.

      In an embedded environment, the user can always enable write skew in its configuration, but this cannot be enabled in server mode.

      Widlfly does enable write skew programmatically depending on the configuration:

      > hey, quick q: can you configure writeSkew on infinispan wildfly
      config?
      <pferraro> we always enable write skew for synchronous, optimistic,
      repeatable-read caches, and disable otherwise
      > pferraro: ah, you do it in the integration code?
      <pferraro> yes

      We need to be doing the same in server configuration, otherwise we run the risk of having issues with conditional operations under failure situations (see ISPN-2956)

      Attachments

        Issue Links

          Activity

            People

              ttarrant@redhat.com Tristan Tarrant
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: