On Apr 20, 2015 20:22, "Gregory Farnum" <[email protected]> wrote:
>
> On Mon, Apr 20, 2015 at 11:17 AM, Dan van der Ster <[email protected]>
wrote:
> > I haven't tried, but wouldn't something like this work:
> >
> > step take default
> > step chooseleaf firstn 2 type host
> > step emit
> > step take default
> > step chooseleaf firstn -2 type osd
> > step emit
> >
> > We use something like that for an asymmetric multi-room rule.
>
> You can get duplicates this way, since the first and second "take"
> expressions don't have any knowledge of each other and are operating
> on the same set of OSDs.

Ahh you're right. I guess it works in our case because the two take steps
work on different rooms.

Cheers, Dan
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to