staff blogs

distributed.net staff keep (relatively) up-to-date logs of their activities in .plan files. These were traditionally available via finger, but we've put them on the web for easier consumption.

2003-11-18

decibel [18-Nov-2003 @ 02:03]

Filed under: Uncategorized @ 02:03 +00:00

:: 18-Nov-2003 02:03 GMT (Tuesday) ::

Turns out that queries against the team table are locked out while this RI is
being added. Rather than take the site down while this is going on, I’ve hacked
up the PHP a bit to set a database query timeout and to display a crude error
message when a database error occurs. I don’t really know how to get rid of
the inaccurate error messages (such as ‘team not found’; your team is still
there, you just can’t see it right now). Hopefully the database error text
makes people realize this is a temporary issue.

I know this is an ugly hack of a solution; anyone so inclined is welcome to
submit a patch to any of the stats bugs (there’s already one open about the
error reporting). If you’re really adventurous, figure out how to modify
PostgreSQL so that adding RI doesn’t block all table access. ;)