Re: crush chooseleaf vs. choose

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > iirc, chooseleaf goes down the tree and descents into multiple leafs
> > to find what you are looking for.
> >
> > choose goes into that leaf and tries to find what you are looking for
> > without going into subtrees.
> 
> Right.  To a first approximation, these rules are equivalent.  The difference is
> that the second won't handle the case where you have a host with many/all
> OSDs tht are marked out (data will get shifted to the surviving OSD or you will get
> no results), whereas the chooseleaf rule will handle things properly and maintain
> a balanced distribution.

So if I have 3 hosts, each runnunig 2 OSDs, pool size=3
What happens if I shut down one Host.

choose => no redistribution to remaining host
chooseleaf => data is copied to remaining OSDs

Is that right?



_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux