Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16820 - during an "emerge rsync," a server that times out does not retry.
Summary: during an "emerge rsync," a server that times out does not retry.
Status: RESOLVED FIXED
Alias: None
Product: Mirrors
Classification: Unclassified
Component: Server Problem (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-04 08:17 UTC by Danny
Modified: 2003-10-23 13:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Danny 2003-03-04 08:17:07 UTC
This happens with both portage 2.0.47-r8 and 2.0.47-r7.  When an rsync mirror 
times out, portage simply stops trying to update, even though I have more than 1 
try set (RSYNC_RETRIES="5").




Other rsync errors seem to cause the rsync retry, but a timeout simply stops it 
right there.


Reproducible: Always
Steps to Reproduce:
You can get this problem much more often by decreasing your RSYNC_TIMEOUT.


NOTE: you don't have to decrease RSYNC_TIMEOUT to reproduce the problem, it 
simply makes it obvious and easily reproducible.


1. open /etc/make.conf


2. change the line "#RSYNC_TIMEOUT=180" to "RSYNC_TIMEOUT=1"


3. save and exit


4. on command line type "emerge sync"

Actual Results:  
After you "emerge sync" a couple of times you will have to have found a slow 
enough server to time out.  When rsync times out, portage will simply quit 
trying to rsync, even if there are more retrys left.


Expected Results:  
"emerge" should have kept trying other servers until the set number of 
RSYNC_RETRIES have been attempted.
Comment 1 Kurt Lieber (RETIRED) gentoo-dev 2003-03-04 08:32:33 UTC
sounds like a portage issue more than a mirror issue.  re-assigning to carpaski.
Comment 2 Danny 2003-06-06 20:49:10 UTC
This seems to have been fixed since.
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2003-10-23 13:39:22 UTC
reporter has marked as fixed