Last modified: 2009-07-21 12:47:09 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T20972, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 18972 - Large participation overwhelms the vote dump functions
Large participation overwhelms the vote dump functions
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
SecurePoll (Other open bugs)
unspecified
All All
: Normal major (vote)
: ---
Assigned To: Tim Starling
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-05-28 01:54 UTC by Robert Rohde
Modified: 2009-07-21 12:47 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Robert Rohde 2009-05-28 01:54:24 UTC
The licensing update poll had 17000+ ballots certified.

Each ballot generated an encrypted block approximately 1.8 kB in size.  This resulted in a 30 MB vote dump that timed out repeatedly both on attempts to download and upload.

This could be avoided by taking steps such as using php's set_execution_time to limit the possibility of timeouts during this process.  Another possibility for download is to generate the file, save it to local disk, and then present a link to that file so the download isn't done in a script.

Admittedly most ballots may have much lower participation, so this may not be a frequent problem.
Comment 1 Robert Rohde 2009-05-28 02:27:26 UTC
Reference to "set_execution_time" should be "set_time_limit".

Also note that a solution to this might be relevant to the solution to bug 18974; however, it is possible to address the data processing issues without addressing the file size issues or vice versa.  In particular, 18974 is likely to crop up even with much lower vote totals such that the condition described here is not a problem.
Comment 2 Tim Starling 2009-07-21 12:47:09 UTC
The command-line dumping and tallying system as of r53591 should be able to handle elections of any size, providing you're patient enough. Marking fixed.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links