Last modified: 2014-11-17 09:21:35 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 T18875, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16875 - Importing (transwiki) only the top revision should succeed reliably
Importing (transwiki) only the top revision should succeed reliably
Status: NEW
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
1.14.x
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Ariel T. Glenn
: testme
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-01-04 02:29 UTC by Mike.lifeguard
Modified: 2014-11-17 09:21 UTC (History)
7 users (show)

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


Attachments

Description Mike.lifeguard 2009-01-04 02:29:05 UTC
Currently importing only the top revision using transwiki import fails for no good reason I can come up with - and in fact fails more often than it succeeds. This shouldn't happen.

The reason importing many revisions fails, is: "The slow part is loading the required data from external storage, but even if it sped it up by, say, 5 times, it would still time out because some transwiki jobs are just that big... to transwiki a page it might have to load up hundreds of megabytes of data from various hard drives - non-contiguous data, it'll have to seek." (Tim Starling) - but that doesn't apply to fetching only one revision, I hope.

So, something must be going wrong here.
Comment 1 Chad H. 2009-01-04 13:35:38 UTC
Transwiki importing times out very easily :( If the server takes too long to build the XML, the connection will time out. If it's too big, it might time out. Or if it's just transferring slowly (too much network congestion?) it might time out.

Short of rethinking the interwiki imports (which might be nice), the easiest solution is making $wgHTTPTimeout higher than the default 3 seconds and being patient.
Comment 2 Mike.lifeguard 2009-03-06 14:46:17 UTC
(In reply to comment #1)
> Transwiki importing times out very easily :( If the server takes too long to
> build the XML, the connection will time out. If it's too big, it might time
> out. Or if it's just transferring slowly (too much network congestion?) it
> might time out.
> 
> Short of rethinking the interwiki imports (which might be nice), the easiest
> solution is making $wgHTTPTimeout higher than the default 3 seconds and being
> patient.
> 

All true, but for *one revision* there should be no problem. We load pages for viewing (ie the top revision only) fast enough; why can't we generate xml for the same data fast enough?
Comment 3 Dan Collins 2011-07-16 04:47:33 UTC
Is this process still unreliable?
Comment 4 Chad H. 2011-07-16 11:37:42 UTC
Transwiki importing? Yes.

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


Navigation
Links