Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 5982

Summary: round-robin mirrors when emerging suggestion
Product: Portage Development Reporter: Robert Cole <robert.cole>
Component: CoreAssignee: Nicholas Jones (RETIRED) <carpaski>
Status: RESOLVED FIXED    
Severity: normal CC: vapier
Priority: High    
Version: 2.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 9964    
Bug Blocks:    

Description Robert Cole 2002-08-03 21:14:22 UTC
I'd like to suggest a feature I didn't see listed but it may have been buried 
in a report I missed. 
 
I notice that when I emerge rsync that if the mirror that's first contacted 
has reached max connections that it (emerge) just drops back to the command 
prompt. How about capturing that error and trying another mirror? 
 
Robert
Comment 1 SpanKY gentoo-dev 2002-08-03 23:31:39 UTC
http://bugs.gentoo.org/show_bug.cgi?id=5965 also deals with improving rsync
Comment 2 SpanKY gentoo-dev 2002-08-03 23:33:04 UTC
err, sorry, posted comment to wrong report ... but 
http://bugs.gentoo.org/show_bug.cgi?id=4874 is related to this bug ...
Comment 3 Christopher Sharp 2002-10-31 11:56:39 UTC
http://bugs.gentoo.org/show_bug.cgi?id=9964

has a patch written by me which allows rsync to retry if it fails
because of ie. too many users

Any feedback appreciated.
Comment 4 SpanKY gentoo-dev 2003-01-08 13:01:10 UTC
we now have retry support in make.conf

# RSYNC_RETRIES sets the number of times portage will attempt to retrieve 
#     a current portage tree before it exits with an error. This allows     
#     for a more successful retrieval without user intervention most times.
#RSYNC_RETRIES="3"