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

HotRod Transaction Cache - Document the system behavior when force-return-values=false or true

    XMLWordPrintable

Details

    Description

      The topic http://infinispan.org/docs/stable/user_guide/user_guide.html#hot_rod_transaction does not mention about the force-return-values on the client configuration.
      When it is true, the system will validate the cache version and only one transaction will commit.
      When it is false, the system won't validate the cache version and both transactions will commit.

      It will be nice to have this behavior documented. Also, an example code for each behavior is welcome:

      Here is an example:
      A=0 (cache), B=0 (cache)
      TX1: write A = 1, write B = 1
      TX1: TODO
      TX2: TODO
      TX1: TODO
      TX1: commit
      TX2: commit

      Attachments

        Issue Links

          Activity

            People

              pruivo@redhat.com Pedro Ruivo
              dlovison@redhat.com Diego Lovison
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: