Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159740 - Allow specification of multiple rsync mirrors in make.conf
Summary: Allow specification of multiple rsync mirrors in make.conf
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-02 11:01 UTC by Asfand Yar Qazi
Modified: 2007-01-03 01:44 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 Asfand Yar Qazi 2007-01-02 11:01:43 UTC
I think it would be very useful to let the user specify several rsync mirrors in the SYNC option of make.conf.  This would allow syncing several times a day without overloading any one particular mirror.  I know there are hosts like rsync.{fr,de,uk}.gentoo.org, but it would be nice to allow an even greater pool of servers to choose from for even fairer distribution of load.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-02 14:16:25 UTC

*** This bug has been marked as a duplicate of 56485 ***
Comment 2 Asfand Yar Qazi 2007-01-02 15:54:06 UTC
er... I'm sorry, but I'm not sure you get what I mean.

I should have given an example:

I was thinking it would be good to be able to say something like this:

SYNC="rsync://rsync.de.gentoo.org/gentoo-portage \
rsync://ftp.belnet.be/gentoo-portage \
rsync://rsync.uk.gentoo.org/gentoo-portage \
rsync://rsync.fr.gentoo.org/gentoo-portage"

And on each rsync, a random one from the list is chosen.  The duplicate bug you indicated is saying having multiple portage overlays/trees - I'm saying that multiple servers for the same tree is supplied, and a random server chosen each time.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2007-01-02 16:44:38 UTC
Not sure about this. SYNC isn't limited to rsync and other specifications may contain spaces in their syntax (though I can't think of any real example right now). Also you listed "syncing several times per day" as your motivation in comment #1, and while your idea might distribute the load such behavior would still increase the total load on the whole server pool, so if this is implemented it still wouldn't change the policy of syncs per day.
Comment 4 Asfand Yar Qazi 2007-01-03 01:44:32 UTC
I suppose it would.... oh well, may as well close this ticket, was just an idea.