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

Transactions created when applying state should never be replicated

XMLWordPrintable

      BaseRpcInterceptor.shouldInvokeRemoteTxCommand forces the replication of transactional commands if the topology id changed since the start of the transaction. However, this can also apply for transaction used internally to apply state during state transfer.

      For a state transfer tx, the collection of affected keys is empty, but ReplicationLogic.getOwners(Collection) returns null instead of Collections.emptySet(), and the prepare/commit command ends up being replicated to all the other nodes.

      The extra RPC sometimes causes failures in ReplCommandRetryTest.

              dberinde@redhat.com Dan Berindei (Inactive)
              dberinde@redhat.com Dan Berindei (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: