In T288233#7286917, @EBernhardson wrote:WaitConditionLoop has a bug, repro:
>>> (new Wikimedia\WaitConditionLoop(function () { return Wikimedia\WaitConditionLoop::CONDITION_ABORTED; }, 0))->invoke() === Wikimedia\WaitConditionLoop::CONDITION_REACHED => trueIn wmf.14 this bug allowed the MessageCache to fail, but continue anyways. The MessageCache would disable itself and fallback to LocalisationCache which reads from CDB files.
In wmf.15 the intermediary lock/unlock in BagOStuff was refactored. This refactor avoided the bug above by following a slightly different path to deciding if the lock was actually locked. With the lock correctly reporting failure in wmf.15 the [CirrusSearch] maintenance scripts are no longer running.
Description
Description
Details
Details
Customize query in gerrit
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | EBernhardson | T288233 Completion index fails to build on labswiki: MessageCache.php: Process cache for 'en' should be set by now | |||
Resolved | BUG REPORT | EBernhardson | T289176 WaitConditionLoop should fail when condition is aborted |
Event Timeline
Comment Actions
Change 713337 had a related patch set uploaded (by Krinkle; author: Ebernhardson):
[mediawiki/libs/WaitConditionLoop@master] Correctly report failure with no timeout
Comment Actions
Change 713337 merged by jenkins-bot:
[mediawiki/libs/WaitConditionLoop@master] Correctly report failure with no timeout
Comment Actions
Change 714408 had a related patch set uploaded (by Krinkle; author: Krinkle):
[mediawiki/libs/WaitConditionLoop@master] Tag 2.0.2
Comment Actions
Change 714408 merged by jenkins-bot:
[mediawiki/libs/WaitConditionLoop@master] Tag 2.0.2
Comment Actions
Change 714419 had a related patch set uploaded (by Jforrester; author: Jforrester):
[mediawiki/core@master] Update wikimedia/wait-condition-loop from 2.0.1 to 2.0.2
Comment Actions
Change 714429 had a related patch set uploaded (by Jforrester; author: Jforrester):
[mediawiki/vendor@master] Update wikimedia/wait-condition-loop from 2.0.1 to 2.0.2
Comment Actions
Change 714429 merged by jenkins-bot:
[mediawiki/vendor@master] Update wikimedia/wait-condition-loop from 2.0.1 to 2.0.2
Comment Actions
Change 714419 merged by jenkins-bot:
[mediawiki/core@master] Update wikimedia/wait-condition-loop from 2.0.1 to 2.0.2