[
https://issues.jboss.org/browse/ISPN-2655?page=com.atlassian.jira.plugin....
]
Mircea Markus updated ISPN-2655:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
thanks tristan, integrated.
Make HotRod client always read from the main data owner
-------------------------------------------------------
Key: ISPN-2655
URL:
https://issues.jboss.org/browse/ISPN-2655
Project: Infinispan
Issue Type: Feature Request
Affects Versions: 5.2.0.Beta6
Reporter: Mircea Markus
Assignee: Tristan Tarrant
Fix For: 5.2.0.CR1, 5.2.0.Final
ISPN-2643 made the java Hot Rod client always write to the main owner. ATM the client
picks a random owner for reading though. This read-load-balancing doesn't really help,
as assuming the data is evenly spread, the amount of reads would be distributed uniformly
across the cluster. OTOH forcing the client to always read from the main owner would
guarantee red-consistency for *async* replicated caches. Even so read consistency might
still be a problem when a node crashed, but still these is a much stronger guarantee and
makes async replication usable in many more scenarios.
--
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