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

Sergey Tryuber commented on CASSANDRA-4768:
-------------------------------------------

Basically I think we should keep hinted handoff configuration as independent as 
possible for local and remote datacenter use cases. Basically those are two 
different kind of fail overs: node failure inside a local datacenter and lack 
of connection between two data centers. In the first case we expect quite small 
amount of hints (to only one node) and hints can be replayed very fast because 
we have good high throughput network connection between nodes within a single 
DC. That's why we could set quite large window size (to, say, 12 hours) and 
quite small amount of parallel workers for hints replaying (because network 
roundtrip is fast and we're able to replay hints in sequential mode with quite 
fast speed). In the second case the situation is opposite: we need a lot of 
parallel workers and quite small window size. 

Once again, I think hinted handoff is great, but there should be two different 
sets of configuration options for replaying inside a local DC and to a remote 
DC. Going further I'd even add possibility to set up different options for 
different data centers, but it is a theme for another ticket.
                
> Add separate max_hint_window_in_ms option for remote data centers
> -----------------------------------------------------------------
>
>                 Key: CASSANDRA-4768
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4768
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.2
>            Reporter: Alexey Zotov
>            Assignee: Alexey Zotov
>            Priority: Minor
>              Labels: configuration, hintedhandoff
>             Fix For: 1.1.6, 1.2.0
>
>         Attachments: cassandra-1.1-4768-remote_hint_window.txt, 
> cassandra-1.2-4768-remote_hint_window.txt
>
>
> It would be nice to have possibility to configure hint window size for remote 
> dc separately. It will allow to prevent accumulating of big amount of data 
> for remote dc and long hints delivery as the result of it.
> I suggest to add max_hint_window_for_remote_dc_in_ms option. 

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