[ https://issues.apache.org/jira/browse/CASSANDRA-952?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12867234#action_12867234 ]
Jeremy Hanna commented on CASSANDRA-952: ---------------------------------------- Jonathan - Also it looks like you're doing the datacenter replication factor per keyspace now, which is what we're hoping to have for multi-tenants. However, in StorageService, I was under the impression that the replication strategy is handled as though it was per keyspace but in reality it is a quasi singleton. So all keyspaces will share the same RS of that type. Is that not true now? I didn't see any change to that in your patches. Just wanted to make sure that doesn't cause odd problems - if all of the keyspaces are sharing the same DatacenterShardStrategy instance which is only meant for one of those keyspaces. > DC Quorum broken @ trunk > ------------------------ > > Key: CASSANDRA-952 > URL: https://issues.apache.org/jira/browse/CASSANDRA-952 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 0.6 > Environment: Linux, Cassandra > Reporter: Vijay > Assignee: Vijay > Priority: Minor > Fix For: 0.7, 0.8 > > Attachments: > 0001-clean-out-callback-purging-from-truncate-writerh.txt, > 0002-dcquorum-fixes.txt, 952-Canges_To_Stategy_V002.txt, > 952-Change_BlockFor.txt, 952-Changes_To_ResponseHandler_v002.txt, > 952-Fix_Refactor_DCStatergy.txt, 952-v3.txt, 952-v4.txt, 952-v5.txt, > DC-Config.xml > > > Currently DCQuorum is broken in trunk, Suggesting the following fix... > Write to DC's > 1) Move determineBlockFor(int expandedTargets, ConsistencyLevel > consistency_level) to AbstractEndpointSnitch > 2) Add the same to support DC Quorum in DatacenterShardStategy > Read to DC's > 1) find suitable nodes was a list which was returning a list of local DC's > earlier but now it is just one node and MD is been sent by other nodes. Need > to have an option to even avoid MD from other DC's? -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.