This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ocean-city
Recipients amaury.forgeotdarc, barry, benjamin.peterson, gregory.p.smith, jcea, mhammond, ocean-city, trent
Date 2009-01-27.14:29:56
SpamBayes Score 4.0831964e-07
Marked as misclassified No
Message-id <1233066625.0.0.0692990190192.issue3892@psf.upfronthosting.co.za>
In-reply-to
Content
I've investigated more. I think this is timeout problem. According to 
following site,

http://www.oracle.com/technology/documentation/berkeley-
db/db/api_c/rep_timeout.html

timeout should be specified in microseconds. This means

self.dbenvMaster.rep_set_timeout(db.DB_REP_CONNECTION_RETRY,100123)

only waits 10msec. This is too small comparing to default timeout. 
Probably 10sec is appropriate here.

After I applied an attached patch "fix_timeout.py", I ran test several 
times and found no error.

# I changed time.time()+10 to time.time()+30 because my machine is too 
slow, so 10sec was not enough. :-[
History
Date User Action Args
2009-01-27 14:30:25ocean-citysetrecipients: + ocean-city, mhammond, barry, gregory.p.smith, jcea, amaury.forgeotdarc, benjamin.peterson, trent
2009-01-27 14:30:25ocean-citysetmessageid: <1233066625.0.0.0692990190192.issue3892@psf.upfronthosting.co.za>
2009-01-27 14:30:00ocean-citylinkissue3892 messages
2009-01-27 14:29:59ocean-citycreate