Last modified: 2013-10-23 19:27:55 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 T47321, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45321 - SMW update jobs forced to single thread
SMW update jobs forced to single thread
Status: NEW
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-02-24 07:18 UTC by Niklas Laxström
Modified: 2013-10-23 19:27 UTC (History)
6 users (show)

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


Attachments

Description Niklas Laxström 2013-02-24 07:18:49 UTC
At translatewiki.net, if I initiate refresh data, then run runJobs.php with --procs=3, I see the other two threads to stop running immediately.

This might also be a problem with the core jobqueue, but I don't remember having this issue for other type of jobs.
Comment 1 Niklas Laxström 2013-02-24 07:56:47 UTC
To clarify it first run only lots of SMWRefreshJobs. After that reached prog=1 it started running both SMWRefreshJobs (with smaller prog) and lots of SMWUpdateJobs with multiple threads.
Comment 2 MWJames 2013-10-23 18:40:15 UTC
What is the status on this ticket? If the problem still persists with the current master, are they any suggestions how to solve this issue?
Comment 3 Niklas Laxström 2013-10-23 19:02:12 UTC
This is still the case. Unfortunately I do not know how to fix it. Adding Aaron to CC in case he has ideas.
Comment 4 MWJames 2013-10-23 19:27:55 UTC
Just to clarify, since we have to support MW 1.19 we can't do any fancy stuff that is implemented by the new JobQueue class (as in 1.21/1.22) therefore the current code is as simple as:

class SMWRefreshJob extends Job {
	...

	$nextjob = new SMWRefreshJob( $this->title, array( ... ) );
	$nextjob->insert();

	...
}

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


Navigation
Links