[
https://issues.apache.org/jira/browse/CASSANDRA-6157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lyuben Todorov updated CASSANDRA-6157:
--------------------------------------
Attachment: trunk-6157-v3.diff
Patch looks good except for a few nits, attaching v3 with some minor fixes:
- changed message for hinted_handoff_enabled in cassandra.yaml
- kept globally enabled hints as the default setting
({{hinted_handoff_enabled: true}})
- Added space after {{if}} statement @ SProxy#shouldHint
- lowercase .equals true / .equals false to save 2 checks.
- Added {{.toLowerCase()}} in Config#initializeCustomConfig to save 2 more
checks in the if statement
- Renamed {{initializeCustomConfig}} to {{configHintedHandoff}} as custom
config sounds too general.
> 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.5
>
> Attachments: trunk-6157-v2.diff, trunk-6157-v3.diff, 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.5#6160)