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

ignorePreviousValue should not be set on non-origin nodes

    XMLWordPrintable

Details

    Description

      In TxDistributionInterceptor.visit(Replace|Remove)Command the ignorePreviousValue flag is set to false on nodes which are not executing the transaction. Usually this does not matter, but when some other node requests transactions from this node (during ST), the Remove and Replace commands are sent with this flag set to false, which results in skipping their execution.

      Note: the overall behaviour with ignoring the command when this flag is false and origin is not local seems to me as abusing it - the semantics of the command is far from obvious. When the non-origin node receives the exact command that is executed on the original node (without ignorePreviousValue set to true), it simply ignores it.

      Attachments

        Activity

          People

            pruivo@redhat.com Pedro Ruivo
            rvansa1@redhat.com Radim Vansa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: