[Gluster-devel] AFR write scheduling

Krishna Srinivas krishna at zresearch.com
Tue Nov 20 21:14:27 UTC 2007


On Nov 21, 2007 2:09 AM, Székelyi Szabolcs <cc at avaxio.hu> wrote:
> Kevan Benson wrote:
> >
> > I don't remember anything about the status of this, and I can't find it
> > in the archives from a few minutes of searching, so I'll just ask.
> >
> > Is afr write scheduling planned for the future?  My understanding of AFR
> > currently is that if you have a 4 node AFR, and you specify all .html
> > files to be redundant at 2 locations and all .db files to be redundant
> > in 3, you can expect the first 2 defined nodes to contain redundant
> > .html files and the first 3 nodes to contain redundant .db files and the
> > fourth node to be essentially empty (until the other nodes fill up?).
> >
> > Are there any plans to have it use a scheduler to decide which AFR nodes
> > to write to?
> >
> > Is the solution just to wrap multiple AFRs in a unify and use the unify
> > scheduler to achieve this?
> >
>
> See http://www.mail-archive.com/gluster-devel@nongnu.org/msg02201.html
>

Correct.
Note that previously supported "option replicate *html:2,*txt:1"
pattern matching feature
is moved out of AFR. It should be implemented using unify's switch.case

Also check the following link which I just updated:
http://www.gluster.org/docs/index.php/Understanding_AFR_Translator





More information about the Gluster-devel mailing list