[infinispan-issues] [JBoss JIRA] (ISPN-4091) Transactions and data should prefer to be sourced from a primary owner

RH Bugzilla Integration (JIRA) issues at jboss.org
Thu May 29 06:25:16 EDT 2014


    [ https://issues.jboss.org/browse/ISPN-4091?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971561#comment-12971561 ] 

RH Bugzilla Integration commented on ISPN-4091:
-----------------------------------------------

Dan Berindei <dberinde at redhat.com> changed the Status of [bug 1102048|https://bugzilla.redhat.com/show_bug.cgi?id=1102048] from POST to MODIFIED

> Transactions and data should prefer to be sourced from a primary owner
> ----------------------------------------------------------------------
>
>                 Key: ISPN-4091
>                 URL: https://issues.jboss.org/browse/ISPN-4091
>             Project: Infinispan
>          Issue Type: Bug
>          Components: State Transfer
>    Affects Versions: 5.2.7.Final
>            Reporter: Erik Salter
>            Assignee: Dan Berindei
>             Fix For: 7.0.0.Beta1
>
>
> The current state transfer mechanism will ask the backup segments for transaction and state information.  However, this breaks if there is a pessimistic transaction executing on the primary data owner,  Consider the following use case:
> A new owner joins and sources the ongoing transactions and data for key k from the backup.  Meanwhile, a local transaction has started on the primary owner for k, but has not prepared on any remote nodes.  So the new node does not know about the ongoing transaction.  While that's going on, a new tx starts on the new owner.  Since these are pessimistic, the new transaction will acquires the lock for the same key.  
> So we can have data inconsistency.
> The state transfer mechanism should prefer to source the transaction and state information from the primary owner.  This should cover all cases: if the originator is not the primary owner, then any (backup) locks must be replicated to all the owners, either directly during the tx or during a previous state transfer. 



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the infinispan-issues mailing list