Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360493 - [transport] intermittent timeout during downloading artifacts should be forgivable
Summary: [transport] intermittent timeout during downloading artifacts should be forgi...
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.7   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 3.7.2   Edit
Assignee: Meng Xin Zhu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 350014
Blocks:
  Show dependency tree
 
Reported: 2011-10-10 23:15 EDT by Meng Xin Zhu CLA
Modified: 2013-11-10 22:32 EST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Meng Xin Zhu CLA 2011-10-10 23:15:37 EDT
For tracking the change on 3.7.2 maintenance branch,
Cloned from: 350014: [transport] intermittent timeout during downloading artifacts should be forgivable
https://bugs.eclipse.org/bugs/show_bug.cgi?id=350014

P2 and ECF treats the socket timeout as the fatal error, it never tries to reconnect the server and get the data again.

However the intermittent timeout is probably happened when downloading a lot of artifacts from remote server, the p2 installation(collect phase) will fail if the timeout occurs only one time.

Comparing to other famous download utility, say as 'wget', it will try again(the number is configurable) after the read timeout happens.

I'm not sure which component(p2/ecf) should take the responsibility to retry the downloading after timeout occurs.

I would like to own this one if you guys think it's a p2's problem.
Comment 1 Meng Xin Zhu CLA 2011-11-03 01:48:39 EDT
Hi Pascal,

Do we have special rules to control defect fixes for maintenance build? I would like to merge this one into 3.7.2. The fix is safe, and it's disable by default.
Comment 2 Meng Xin Zhu CLA 2011-11-28 01:51:09 EST
released and tagged on R3_7_maintenance branch

http://git.eclipse.org/c/equinox/rt.equinox.p2.git/log/?h=R3_7_maintenance