> > 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@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to