Last modified: 2013-12-15 12:17:48 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 T44285, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42285 - Move public_reporting table to separate database
Move public_reporting table to separate database
Status: RESOLVED WONTFIX
Product: Wikimedia
Classification: Unclassified
CiviCRM (Other open bugs)
wmf-deployment
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-20 09:37 UTC by Adam Wight
Modified: 2013-12-15 12:17 UTC (History)
6 users (show)

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


Attachments

Description Adam Wight 2012-11-20 09:37:07 UTC
The trigger used to populate public_reporting should write anonymized data points to a separate database.  The extension's dependency on the Civi db is unnecessary, and dangerous at any speed.

Also a bug on http://svn.wikimedia.org/viewvc/wikimedia/trunk/fundraising-civicrm/sites/all/modules/public_reporting
Comment 1 Adam Wight 2012-11-21 05:22:58 UTC
half a patch: http://www.mediawiki.org/wiki/Special:Code/Wikimedia/2284
Comment 2 Adam Wight 2012-11-21 05:30:07 UTC
https://gerrit.wikimedia.org/r/34487
Comment 3 Adam Wight 2012-11-21 05:33:52 UTC
The real work here is in deployment.  One potential sequence of operations:

* Create the new public_reporting database and table.
* Pause the queue consumer.
* Copy existing public_reporting data from the civi db to new db.
* In drupal, admin/settings/public_reporting/settings, set the new database name.
* Create new triggers.
* Slow-start the queue consumer.

* Reconfigure Foundation wiki ContributionReporting to point to the new db.
* PopulateFundraiserStatistics
Comment 4 Andre Klapper 2013-07-23 09:16:28 UTC
(In reply to comment #2)
> https://gerrit.wikimedia.org/r/34487

4-line patch for extensions/ContributionReporting needs reviewers - Adam, anybody in mind who could be added as a reviewer in Gerrit?
Comment 5 Gerrit Notification Bot 2013-07-23 17:09:26 UTC
Change 34487 merged by Mwalker:
(bug 42285) make explicit that the public_reporting table is not in the civi db.

https://gerrit.wikimedia.org/r/34487
Comment 6 Matt Walker 2013-07-23 17:12:46 UTC
OK; I've committed the patch considering it was only modifying comments. The bigger issue here is that as of this morning; have no method to continue supporting ContributionTracking via writing to public databases. This came as a result of us finally moving all the fundraising databases into the fundraising rack.

Because of that; and because we have a source of data available through frdata.wikimedia.org (we just don't have a dashboard for it that works) I'm going to mark this as WONTFIX.
Comment 7 Andre Klapper 2013-12-15 12:17:48 UTC
[Moving from "CiviCRM/General" to "Wikimedia/CiviCRM; see bug 57738]

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


Navigation
Links