[1702] in Moira

home help back first fref pref prev next nref lref last post

Re: DCMs don't always think they are necessary

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Wed Nov 29 14:45:51 2000

Message-Id: <200011291945.OAA15988@sweet-transvestite.mit.edu>
To: Jonathon Weiss <jweiss@MIT.EDU>
cc: moira-admin@MIT.EDU, moiradev@MIT.EDU
In-Reply-To: Your message of "Wed, 29 Nov 2000 01:48:51 EST."
             <200011290648.BAA17466@Bearing-An-Hourglass.mit.edu> 
Date: Wed, 29 Nov 2000 14:45:49 -0500
From: Garry Zacheiss <zacheiss@MIT.EDU>

>> Garry's planning to submit a patch to fix this, but we encountered
>> some interesting DCM behavior tonight.

   The patch in this case is to rip ModDiff out of libdcm entirely,
since building files is never the expensive part of a DCM, and as we saw
last night, we get interesting failures from subtlely broken behavior
and misbehaved queries that don't do the right thing with the tblstats
table.

   The diff is over 1000 lines long, so it's not included here; see
/mit/zacheiss/moddiff.patch for the gory details.  Highlights include:

	* moddiff.pc is gone entirely.

	* unixtime() is moved from moddiff.pc to utils.c since a couple
	  of the other generators use it in a non-ModDiff() context.

	* DCMs affected are directory, hesiod, hosts, mailhub, network,
	  nfs, pobox, postoffice, warehouse, and www.  

   I'm not in a huge rush to check this in, since it won't be deployed
until after the end of term.  

Garry



home help back first fref pref prev next nref lref last post