[infinispan-issues] [JBoss JIRA] (ISPN-3885) Non-Tx Cross Site optimizations
Dan Berindei (JIRA)
issues at jboss.org
Thu Feb 20 06:47:47 EST 2014
[ https://issues.jboss.org/browse/ISPN-3885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Berindei updated ISPN-3885:
-------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
> Non-Tx Cross Site optimizations
> -------------------------------
>
> Key: ISPN-3885
> URL: https://issues.jboss.org/browse/ISPN-3885
> Project: Infinispan
> Issue Type: Enhancement
> Components: Cross-Site Replication
> Affects Versions: 6.0.1.Final
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Fix For: 7.0.0.Alpha1, 7.0.0.Final
>
>
> I find a couple of optimization that can be done.
> #1 I've noticed that we are sending the conditional commands to the backup sites without checking if the command is successful in the originator site. I think we can save network bandwidth and time to avoid serializing the commands that will fail...
> #2 Also, the originator is the node that sends the command to the other sites. IMO, it can generate inconsistencies because 2 or more nodes in /site_a/ can update the same key concurrently and other /site_b/ can receive the commands in different order (at least, I didn't see any protection mechanism against this case)
> I think the backup to other sites should be sent by the /primary_owner/ (lock owner).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list