Last modified: 2014-10-11 00:57:10 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 T72376, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70376 - UserMerge: don't update the entire table in one query
UserMerge: don't update the entire table in one query
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
UserMerge (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Sam Reed (reedy)
:
Depends on:
Blocks: global-user-merge
  Show dependency treegraph
 
Reported: 2014-09-04 01:09 UTC by Kunal Mehta (Legoktm)
Modified: 2014-10-11 00:57 UTC (History)
1 user (show)

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


Attachments

Description Kunal Mehta (Legoktm) 2014-09-04 01:09:59 UTC
Needs batching...
Comment 1 Sam Reed (reedy) 2014-09-04 01:12:36 UTC
From the runBatchedQuery.php maintenance script:

		do {
			$this->output( "Batch $n: " );
			$n++;
			$dbw->query( $query, __METHOD__ );
			$affected = $dbw->affectedRows();
			$this->output( "$affected rows\n" );
			wfWaitForSlaves();
		} while ( $affected > 0 );


This should be easily enough modified to do it...
Comment 2 Gerrit Notification Bot 2014-09-04 01:15:37 UTC
Change 158310 had a related patch set uploaded by Reedy:
Don't update the entire table in one query

https://gerrit.wikimedia.org/r/158310
Comment 3 Gerrit Notification Bot 2014-10-11 00:56:35 UTC
Change 158310 merged by jenkins-bot:
Don't update the entire table in one query to avoid melting servers

https://gerrit.wikimedia.org/r/158310

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


Navigation
Links