You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/08/09 18:14:27 UTC

[jira] [Commented] (CASSANDRA-2892) Don't "replicate_on_write" with RF=1

    [ https://issues.apache.org/jira/browse/CASSANDRA-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13081728#comment-13081728 ] 

Jonathan Ellis commented on CASSANDRA-2892:
-------------------------------------------

can you spell out what's going on with this part?

{code}
-                if (cm.shouldReplicateOnWrite())
+                hintedEndpoints.removeAll(FBUtilities.getLocalAddress());
+
+                if (cm.shouldReplicateOnWrite() && !hintedEndpoints.isEmpty())
{code}

> Don't "replicate_on_write" with RF=1
> ------------------------------------
>
>                 Key: CASSANDRA-2892
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2892
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.8.0
>            Reporter: Sylvain Lebresne
>            Assignee: Sylvain Lebresne
>            Priority: Trivial
>              Labels: counters
>             Fix For: 0.8.4
>
>         Attachments: 2892.patch
>
>
> For counters with RF=1, we still do a read to replicate, even though there is nothing to replicate it too.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira