On Mon, Apr 27, 2015 at 9:27 AM Jeremy Payne <[email protected]> wrote:
> > I noticed that parent consistent hashing only works when a unique weight > is defined per parent server; as seen with the below parent.config entry. > > dest_domain=. parent="192.168.1.120:80|1.0; 192.168.1.121:180|2.0; > 192.168.1.122:80|3.0" round_robin=consistent_hash > > > If I use either of the below entries, consistent hashing stops working. I > also notice that parent fail over stops working as well. > If the first listed parent server falls offline, then all edge requests > requiring a parent lookup will hang. > > dest_domain=. parent="192.168.1.120:80|1.0; 192.168.1.121:80|1.0; > 192.168.1.122:80|1.0" round_robin=consistent_hash > > We use this with identical weights and it works for us. That is a valid use case as far as I am concerned. The only thing of note that is different between our config and yours is the extra spaces you have. > dest_domain=. parent="192.168.1.120:80; 192.168.1.121:80; > 192.168.1.122:80" round_robin=consistent_hash > > > With respect to 5.3.x, are unique weights required to support parent > consistent hashing ? > > Thanks! > > >
