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 2013/12/19 15:10:10 UTC

[jira] [Comment Edited] (CASSANDRA-6157) Selectively Disable hinted handoff for a data center

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

Jonathan Ellis edited comment on CASSANDRA-6157 at 12/19/13 2:08 PM:
---------------------------------------------------------------------

Instead of boolean + override could we just have this?

{noformat}
# may either be "true" or "false" to enable globally, or a set of datacenters to enable
# hinted_handoff_enabled: true
# hinted_handoff_enabled: {'dc1', 'dc2'}
{noformat}

Requires some string parsing in Config, but is backwards compatible without adding a two-layer approach of "turn it on, but turn it back off sometimes."


was (Author: jbellis):
Instead of boolean + override could we just have this?

# may either be "true" or "false" to enable globally, or a set of datacenters to enable
# hinted_handoff_enabled: true
# hinted_handoff_enabled: {'dc1', 'dc2'}

Requires some string parsing in Config, but is backwards compatible without adding a two-layer approach of "turn it on, but turn it back off sometimes."

> Selectively Disable hinted handoff for a data center
> ----------------------------------------------------
>
>                 Key: CASSANDRA-6157
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6157
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>            Reporter: sankalp kohli
>            Assignee: sankalp kohli
>            Priority: Minor
>             Fix For: 2.0.4
>
>         Attachments: trunk-6157.txt
>
>
> Cassandra supports disabling the hints or reducing the window for hints. 
> It would be helpful to have a switch which stops hints to a down data center but continue hints to other DCs.
> This is helpful during data center fail over as hints will put more unnecessary pressure on the DC taking double traffic. Also since now Cassandra is under reduced reduncany, we don't want to disable hints within the DC. 



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)