Re: multiple Robot issue

From: Alex Rousskov (rousskov@measurement-factory.com)
Date: Wed Jun 26 2002 - 22:44:05 MDT


On Tue, 25 Jun 2002, Andrew Sundelin wrote:

> The config file at the end of this e-mail always
> asserts an error in HotSet.cc.
> The assertion I get with this config file is 'wss <=
> size' in slightly different configurations I have also
> gotten '0 <= thePos && thePos <= size'.

Andrew,

        You found a bug -- there is a piece of code that incorrectly
assumes that all robot.origin fields list all the origin servers. A
proper fix should be available in the next release.

        There is a simple workaround you can use immediately: have all
Robot.origin arrays contain all origin servers but use array member
percents to effectively disable some of the members. Here is piece of
PGL code from a working example:

        addr[] fstSrvGroup = '10.0.0.42:9090-9091';
        addr[] sndSrvGroup = '10.0.0.42:9092-9093';

        S.addresses = fstSrvGroup + sndSrvGroup;
        R40.origins = [ fstSrvGroup: 100%, sndSrvGroup: 0% ];
        R41.origins = [ fstSrvGroup: 0%, sndSrvGroup: 100% ];

Your workload, adjusted using the idea from the above PGL code, will
result in the same traffic on the wire and will not trigger the
assertion.

Thank you for reporting the problem,

Alex.



This archive was generated by hypermail 2b29 : Mon Feb 06 2006 - 12:00:23 MST