[Spread-users] "Machine names" in spread.conf

Jonathan Stanton jonathan at cnds.jhu.edu
Mon Jan 26 16:08:37 EST 2004


On Fri, Jan 23, 2004 at 12:19:20AM -0500, Tim Peters wrote:
> [Jonathan Stanton, about "long" machine names in spread.conf]
>
> So I hope the next Spread release not only verifies that names don't exceed
> 19 characters, but also verifies that all names are unique!  Right now
> (3.17.1), I don't think it does; e.g., this passes without complaint:
> 
> Spread_Segment  127.0.0.255:4803 {
> 	localhost	127.0.0.1
> 	host2		192.168.0.4
> 	host2		194.109.137.226
> }
> 
> > In any of these cases, this reminds me I will have to check wether
> > the duplicate names for daemons will be rejected or not. I think
> > they will (and that is what should happen).
> 
> I agree that would be best.
> 

Thanks for your comments.

I've checked this and the parser actually did allow duplicate daemon names 
to be specified. I've tightened up the parser checks so such configs 
should be rejected at startup now. These changes are committed to CVS.

These type of duplicate names should have always caused errors or bugs, so 
hopefully noone was actually using them. :-)

Cheers,

Jonathan

-- 
-------------------------------------------------------
Jonathan R. Stanton         jonathan at cs.jhu.edu
Dept. of Computer Science   
Johns Hopkins University    
-------------------------------------------------------




More information about the Spread-users mailing list