Page MenuHomePhabricator

Big discrepancy in voter numbers between UI and DB for election 1864
Closed, InvalidPublic

Description

I'm not sure if this is a bug or not, and even if it's worth worrying about. But votewiki's UI says 671 voters have voted at the time of writing...

image.png (1,066×213 px, 32 KB)

...but the database says the number of voters is actually 1332.

wikiadmin2023@10.192.16.41(votewiki)> select count(*) from securepoll_voters where voter_election=1864;
+----------+
| count(*) |
+----------+
|     1332 |
+----------+
1 row in set (0.002 sec)

The voters not in the list page are at P83724

I wonder if this is an issue with mobile voting?

Related Objects

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

This might just be me being stupid since JSutherland (WMF) is in there (that's me!) but I definitely have not voted with that account. So possibly my SQL query is incorrect.

Woops, I was querying the wrong table.

wikiadmin2023@10.192.16.41(votewiki)> select count(*) from securepoll_votes where vote_election=1864;
+----------+
| count(*) |
+----------+
|      694 |
+----------+
1 row in set (0.001 sec)