Last modified: 2013-02-17 12:21:40 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 T45758, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43758 - Reviewing articles doesn't work on test.wiki due to DB replication slowness
Reviewing articles doesn't work on test.wiki due to DB replication slowness
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
PageCuration (Other open bugs)
unspecified
All All
: Low normal (vote)
: ---
Assigned To: Nischay Nahata
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-09 01:58 UTC by Ryan Kaldari
Modified: 2013-02-17 12:21 UTC (History)
4 users (show)

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


Attachments

Description Ryan Kaldari 2013-01-09 01:58:40 UTC
When you review an article with PageTriage, it fires one request to set the reviewed status and then a 2nd request to refetch the data for the page. The first request invalidates the cache and the 2nd rebuilds it. On test.wiki it looks like the 2nd request is rebuilding the cache before the changes from the 1st request have propagated to the slave DBs. This problem doesn't seem to occur on en.wiki though.
Comment 1 Ryan Kaldari 2013-01-09 02:06:49 UTC
Benny suggested that we update the cache via the first request rather than invalidating it. That way the 2nd request is guaranteed to get the correct info.
Comment 2 Nischay Nahata 2013-01-09 10:20:02 UTC
(In reply to comment #0)
> When you review an article with PageTriage, it fires one request to set the
> reviewed status and then a 2nd request to refetch the data for the page.

If I understand you correctly you mean that API call to 'pagetriagelist' refetches the data for the page?

All that is needed to be done is update the cache with following fields:
'ptrp_reviewed', 'ptrp_reviewed_updated' and 'ptrp_last_reviewed_by'

https://gerrit.wikimedia.org/r/#/c/42924/
Comment 3 Nischay Nahata 2013-02-17 12:21:24 UTC
Change merged, hopefully fixed as well.

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


Navigation
Links