Last modified: 2014-05-27 15:24:19 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61225, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59225 - sync-dir needs to use rsync proxies like scap
sync-dir needs to use rsync proxies like scap
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Deployment systems (Other open bugs)
wmf-deployment
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-02 19:55 UTC by Sam Reed (reedy)
Modified: 2014-05-27 15:24 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Sam Reed (reedy) 2014-01-02 19:55:45 UTC
ie tin deploys to X hosts, and then Y hosts can use the "nearest"/"quickest" host to grab from

Like scap does..
Comment 1 Greg Grossmeier 2014-05-02 20:31:28 UTC
What if we just continue down the path of making scap (and trebuchet) fast enough to not worry about a sync-file/sync-dir at all? iow: always use scap.

It reduces the complexity and code paths needed to be tested with deployment changes and encourages us to make scap as fast as possible (already around 3 minutes for small/no-op changes and no i10n update).
Comment 2 Bryan Davis 2014-05-02 22:03:50 UTC
A no-op scap is taking 3 minutes vs <10 seconds for sync-file today. 

I think it's going to be a while until we have speed parity between scap and sync-*. If we could efficiently determine if l10n updates were needed or not it would probably mostly eliminate the difference. In beta (much smaller host set), a no-op scap is taking just under 1 minute. If we could get that down to 20-30 seconds we could probably convince people that killing sync-* is reasonable.

Converting sync-* to python is the next big thing on my TODO list, so after we do the straight port we can think about either doing this or waiting until we get a pre-computed diff transfer mechanism (aka Trebuchet) figured out.
Comment 3 Gerrit Notification Bot 2014-05-27 04:30:49 UTC
Change 135513 had a related patch set uploaded by BryanDavis:
Convert sync-dir and sync-file to python

https://gerrit.wikimedia.org/r/135513
Comment 4 Gerrit Notification Bot 2014-05-27 06:06:32 UTC
Change 135513 merged by jenkins-bot:
Convert sync-dir and sync-file to python

https://gerrit.wikimedia.org/r/135513
Comment 5 Bryan Davis 2014-05-27 15:24:19 UTC
Use of rsync proxies for sync-dir and sync-file implemented in I5ab7b2fba2f68d3d9219947ef8ab8ac6d0160d8e.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links