Page MenuHomePhabricator

SecurePoll PurgePrivateVoteData missing tables in dberror log
Closed, ResolvedPublic

Description

These are trickling into dberror.log:

Tue May 27 1:47:24 UTC 2014 terbium zhwikivoyage PurgePrivateVoteData::execute10.64.16.16 1146 Table 'zhwikivoyage.securepoll_elections' doesn't exist

Various wikis: viwikivoyage, zerowiki, tyvwiki ... a few more.

Puppet has a recent new cron job misc::maintenance::purge_securepoll which does foreachwiki extensions/SecurePoll/cli/purgePrivateVoteData.php.

Should it be using foreachwikiindblist?


Version: wmf-deployment
Severity: normal
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=51574

Details

Reference
bz65790

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 3:24 AM
bzimport set Reference to bz65790.

(In reply to Sean Pringle from comment #0)

These are trickling into dberror.log:

Tue May 27 1:47:24 UTC 2014 terbium zhwikivoyage
PurgePrivateVoteData::execute10.64.16.16 1146 Table
'zhwikivoyage.securepoll_elections' doesn't exist

Various wikis: viwikivoyage, zerowiki, tyvwiki ... a few more.

No SecurePoll in the addWiki.php script, so the tables won't have been created

(In reply to Sean Pringle from comment #0)

Should it be using foreachwikiindblist?

foreachwiki is a wrapper/shortcut around foreachwikiindblist

exec "$(dirname "$0")/foreachwikiindblist" "$ALL_DBLIST" "${@}"

Change 135555 had a related patch set uploaded by Reedy:
Add SecurePoll to addWiki

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

Change 135555 merged by jenkins-bot:
Add SecurePoll to addWiki

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

[13:19:25] <Reedy> !log Created SecurePoll tables on zerowiki, legalteamwiki, zhwikivoyage, viwikivoyage, tyvwiki
[13:19:31] <morebots> Logged the message, Master

I think that's them all