cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5179) Hinted handoff sends over 1000 rows for one column change
Date Tue, 19 Mar 2013 01:33:15 GMT

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

Jonathan Ellis commented on CASSANDRA-5179:
-------------------------------------------

True...  and 1.0 had a "if rowsReplayed > 0" around it.  Not sure why we removed that,
except maybe that it would almost always be true.

How about we make the 1.0 check smarter and compact if we delivered over half the hints?
                
> Hinted handoff sends over 1000 rows for one column change
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-5179
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5179
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.2
>         Environment: Windows 7
> Java 1.6u38
>            Reporter: Antti Koivisto
>            Assignee: Aleksey Yeschenko
>             Fix For: 1.2.4
>
>         Attachments: cassandra_receiver.log, cassandra_sender.log
>
>
> We have a small test environment with two datacenters (DC1 and DC2) running on Windows
7 laptops.
> Both datacenters have one node. We use network topology strategy to replicate all data
to both datacenters.
> We started with empty db. 
> 1. Created a keyspace with strategy options [DC1:1, DC2:1]
> 2. Added one row to a column family with CLI to DC1. Change was replicated to DC2.
> 3. Disconnected network cable from DC2.
> 4. Gossiper noticed, that other DC is dead.
> 5. Added another row to DC1.
> 6. Reconnected cable on DC2.
> 7. DC1 started hinted handoff for DC2.
> 8. Hinted handoff is finished with message: "Finished hinted handoff of 1969 rows to
endpoint <DC2 ip>"
> We repeated test with same results on Linux cluster with Cassandra 1.2.0. 
> On Cassandra 1.1.5 Linux cluster, only one row was sent to endpoint. "Finished hinted
handoff of 1 rows to endpoint <DC2 ip>"

--
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

Mime
View raw message