Last modified: 2014-05-06 12:19:18 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 T61870, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59870 - Create a maintenance script to rebuild the wb_items_per_site table
Create a maintenance script to rebuild the wb_items_per_site table
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=backend p=8 s=2014-04-23
: need-volunteer
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-09 16:11 UTC by Marius Hoch
Modified: 2014-05-06 12:19 UTC (History)
5 users (show)

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


Attachments

Description Marius Hoch 2014-01-09 16:11:09 UTC
Create a maintenance script which allows us to rebuild the wb_items_per_site table for a given list of items. This is needed to resolve inconsistencies between the wb_items_per_site table and the actual json stored (eg. bug 48112).
Comment 1 Daniel Kinzler 2014-01-09 16:13:32 UTC
The script could also:
a) delete all orphan entries (from partially deleted items)
b) rebuild entries for entities not changed since some data (or last changed between two given dates)
Comment 2 Lydia Pintscher 2014-03-25 14:31:42 UTC
Proposal by Daniel: Make a script that makes null edits on all items. And then find out how slow it is.
Comment 3 Gerrit Notification Bot 2014-04-14 14:23:18 UTC
Change 125725 had a related patch set uploaded by Hoo man:
Implement a rebuildItemsPerSite maintenance script

https://gerrit.wikimedia.org/r/125725
Comment 4 Gerrit Notification Bot 2014-04-24 15:56:18 UTC
Change 125725 merged by jenkins-bot:
Implement a rebuildItemsPerSite maintenance script

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

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


Navigation
Links