[
https://issues.apache.org/jira/browse/CASSANDRA-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103729#comment-13103729
]
Hudson commented on CASSANDRA-2890:
-----------------------------------
Integrated in Cassandra-0.8 #325 (See
[https://builds.apache.org/job/Cassandra-0.8/325/])
Randomize choice of first replica for counter increments
patch by slebresne; reviewed by jbellis for CASSANDRA-2890
slebresne :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1170219
Files :
* /cassandra/branches/cassandra-0.8/CHANGES.txt
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/CounterMutation.java
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/db/HintedHandOffManager.java
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/ReadCallback.java
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/service/StorageProxy.java
*
/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/utils/FBUtilities.java
> Randomize (to some extend) the choice of the first replica for counter
> increment
> --------------------------------------------------------------------------------
>
> Key: CASSANDRA-2890
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2890
> Project: Cassandra
> Issue Type: Improvement
> Components: Core
> Affects Versions: 0.8.0
> Reporter: Sylvain Lebresne
> Assignee: Sylvain Lebresne
> Priority: Minor
> Labels: counters
> Fix For: 0.8.6
>
> Attachments: 2890.patch, 2890_v2.patch
>
>
> Right now, we choose the first replica for a counter increments based solely
> on what the snitch returns. If the clients requests are well balanced over
> the cluster and the snitch not ill configured, this should not be a problem,
> but this is probably too strong an assumption to make.
> The goal of this ticket is to change this to choose a random replica in the
> current data center instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira