Page MenuHomePhabricator

[betalabs] Quick preview - Table of content headers are not updated
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue

  1. Perform a search on Special:Search page and display a quick view of one of the articles in the search results that have sections. The table of content will display the sections' titles correctly.
  2. Go to that articles in the search results and change a section header
  3. Perform the same search after 24-hour - the sections' titles will not be updated

Example:

Screen Shot 2022-12-22 at 10.48.02 AM.png (2,378×1,138 px, 331 KB)

  • click on real header section title in the table of content

Screen Shot 2022-12-22 at 10.46.30 AM.png (2,204×1,142 px, 315 KB)

The section was changed from real header to Orci varius natoque penatibus et magnis... 24 hour before.

Event Timeline

I have investigated this today (now over 2 weeks after the event) and I have found out that the value returned are still incorrect.

I have done some manual testing to query the Cirrusdoc API directly and still go the same result (this means that our middleware API is not the issue, but the old data is returned from the main API).

image.png (1,916×677 px, 221 KB)

We should investigate this further to see if this is just a very long Cache, or if this is an actual issue with the current way the API serve the data (not updating after the data is changed).

From @dcausse on Slack:

I can confirm that the elasticsearch index has not been updated with the new version of this page. I believe that the component responsible for processing jobs is broken on the beta cluster, filed T326192.

I'm going to close this task as a duplicate of that one. @Etonkovidova feel free to reopen if you disagree!