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

Aleksey Yeschenko commented on CASSANDRA-5179:
----------------------------------------------

bq. You could use break-to-label instead of a bool in the get() loop, but 
shouldn't it just be a return instead of break?

Yes I could. But some requests after the timed-out one could actually have 
succeeded - with the ratelimiter delay and all, and since we sent them, we 
might as well wait for the replies before triggering compaction (hints are 
deleted in that callback). And with return instead of break 1) compaction 
wouldn't be triggered, event if it's the last page of many and 2) "Finished 
hinted handoff .." message wouldn't be logged.
                
> 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

Reply via email to