Page MenuHomePhabricator

Update code reading bl_deleted to handle the third possible value of the column
Closed, ResolvedPublic

Description

Summary

Once T414185: Update documentation for bl_deleted to indicate it can have a third state, is complete we should update code which reads bl_deleted to parse and handle the third value of 2

Background

Acceptance criteria

  • All code that reads bl_deleted handles the value of 2 appropriately

Event Timeline

Change #1273781 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[operations/puppet@production] maintain-views: Hide blocks with bl_deleted set to 2

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

Change #1273840 had a related patch set uploaded (by Dreamy Jazz; author: Dreamy Jazz):

[mediawiki/core@master] [WIP] Update code to handle bl_deleted just hiding the block

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

Change #1273781 merged by Btullis:

[operations/puppet@production] maintain-views: Hide blocks with bl_deleted set to 2

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

@fnegri - I have merged this patch and I will run maintain-views against an-redacteddb1001 in a moment.
Could you (or someone on the WMCS team please update the other wikireplicas, when convenient? Thanks.

I have run the following on all clouddb hosts:

clouddbXXXX:~$ sudo maintain-views --replace --all-databases --table block_target

Change #1273840 merged by jenkins-bot:

[mediawiki/core@master] Update code to handle bl_deleted just hiding the block

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