[infinispan-issues] [JBoss JIRA] (ISPN-5474) Transactions created when applying state should never be replicated
Dan Berindei (JIRA)
issues at jboss.org
Mon May 18 04:03:19 EDT 2015
Dan Berindei created ISPN-5474:
----------------------------------
Summary: Transactions created when applying state should never be replicated
Key: ISPN-5474
URL: https://issues.jboss.org/browse/ISPN-5474
Project: Infinispan
Issue Type: Bug
Components: Core
Affects Versions: 7.2.1.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Critical
Fix For: 7.2.2.Final, 8.0.0.Alpha1
{{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}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the infinispan-issues
mailing list