[Swift-devel] Error messages and execution retries

Ben Clifford benc at hawaga.org.uk
Wed Aug 18 15:39:47 CDT 2010


> That's only if lazy errors are enabled. Perhaps they should be disabled
> by default.

They are in trunk according to SVN - looks like I changed it 2y ago.

b54a10c7 (benc at CI.UCHICAGO.EDU    2007-09-13 16:30:32 +0000  44) lazy.errors=fal


But they interact with retries in a way that makes them still lazier than 
naively expected if you have lots of tasks - the third retry for the very 
first task run, if you have BIGNUM tasks, won't be until 2*BIGNUM tasks 
have been attempted...

There was this balance between lazy errors being on or off by default, 
which was "production" versus "debugging". Maybe the same applies for 
retries too and a set of defaults aimed at users who wantt o debug rather 
than run in production should have retries disabled.

-- 




More information about the Swift-devel mailing list