dccifd failover under load

Vernon Schryver vjs@calcite.rhyolite.com
Fri May 5 05:23:29 UTC 2006


> In clnt_send.c::dcc_clnt_op(), when a request fails pick_srvr()
> is called, but it is possible that something else has already
> changed the "in-use" server. pick_srvr() finds that it is already
> using the "best" server and returns 1. This causes fail_more to
> be called.
>
> Only calling pick_srvr if cur_addr == &class->addrs[class->act_inx]
> seems to fix my problem.

That's an interesting diagnosis and possible fix.
Thanks.


> I thought cdcc info was passive unless the RTT time has passed and
> just dumped out what was in the map.

Yes, my mistake.  `cdcc info` is usually passive.


Vernon Schryver    vjs@rhyolite.com



More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.