[ https://issues.apache.org/jira/browse/CASSANDRA-6157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13852035#comment-13852035 ]
sankalp kohli commented on CASSANDRA-6157: ------------------------------------------ 1) The reason I create a new map on changes is because snake yaml creates a non concurrent hash map when loading the yaml. I could not find how to tell it to create a concurrent map. So on future changes, I create a new concurrent map. If you have suggestions then let me know. 2) I will fix the formatting(Damm IDE :( ) in my next patch once we finalize problems 1) and 3) 3) The reason of using HintedHandoffEnabledOverride is because it is an override. You can have hinted handoff turned off and can use this to enable handoff in one DC. But I am fine with using HintedHandoffPerDC if thats less confusing :) > 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)