Re: [Discussion] Enhancement for CRUSH rules

2012-11-24 Thread Gregory Farnum
On Thursday, November 22, 2012 at 7:38 PM, Chen, Xiaoxi wrote: Hi list, I am thinking about the possibility to add some primitive in CRUSH to meet the following user stories: A. Same host, Same rack To balance between availability and performance ,one may like such a rule: 3 Replicas,

RE: [Discussion] Enhancement for CRUSH rules

2012-11-22 Thread Chen, Xiaoxi
Hi list, I am thinking about the possibility to add some primitive in CRUSH to meet the following user stories: A. Same host, Same rack To balance between availability and performance ,one may like such a rule: 3 Replicas, Replica 1 and Replica 2 should in the same rack while