[infinispan-issues] [JBoss JIRA] (ISPN-5305) Pessimistic locking: transactions with more than one affected keys should replicate lock commands to all backups
Dan Berindei (JIRA)
issues at jboss.org
Mon Mar 16 12:40:19 EDT 2015
Dan Berindei created ISPN-5305:
----------------------------------
Summary: Pessimistic locking: transactions with more than one affected keys should replicate lock commands to all backups
Key: ISPN-5305
URL: https://issues.jboss.org/browse/ISPN-5305
Project: Infinispan
Issue Type: Bug
Components: Core
Reporter: Dan Berindei
Assignee: Dan Berindei
Pessimistic locking includes an optimization to not replicate the lock command to the backups if the transaction only affects a single key and the originator is the primary owner. However, the implementation is incorrect, and it checks each modification individually and it doesn't check if the transaction has more than one modification commands.
We should also make sure that when a second modification is added, we replicate the lock command for the first modification to its backup owners.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the infinispan-issues
mailing list