Page MenuHomePhabricator

[Search Update Pipeline] Create/adapt index comparing script for checking correctness
Closed, ResolvedPublic3 Estimated Story Points

Description

To make sure the search update pipeline yields expected ES updates, we need a script that compares the contents of two indices. There already is such script, compare-clusters.py but this is limited to checking page IDs.

AC

  • There is (an updated version of the existing) script that compares at least
    • page ID
    • revision ID
    • title

Event Timeline

Gehel set the point value for this task to 3.Oct 30 2023, 4:32 PM

Change 972413 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[mediawiki/extensions/CirrusSearch@master] Adapt compare-clusters.py to compare existence, revision, and title

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

Change 972413 merged by jenkins-bot:

[mediawiki/extensions/CirrusSearch@master] Adapt compare-clusters.py to compare existence, revision, and title

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

Change 975010 had a related patch set uploaded (by Peter Fischer; author: Peter Fischer):

[mediawiki/extensions/CirrusSearch@master] Adapt compare-clusters.py, utilize python 3.x features

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

Change 975010 abandoned by Peter Fischer:

[mediawiki/extensions/CirrusSearch@master] Adapt compare-clusters.py, utilize python 3.x features

Reason:

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