Files
phabricator/resources/sql/patches
epriestley 5b463e634c Write fewer "applied" rows and clean up excess historical rows
Summary:
  - Only write the <ruleID, phid> row if the rule is a one-time rule.
  - Delete all the rows for rules which aren't one-time.

NOTE: This is probably like several million rows for Facebook and could take a
while.

Test Plan:
Added some one-time and every-time rules, ran them against objects, verified
only relevant rows were inserted.
Ran upgrade script against a database with one-time and every-time "ruleapplied"
rows, got the irrelevant rows removed.

Reviewers: nh, btrahan, jungejason

Reviewed By: btrahan

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1484
2012-01-25 11:53:39 -08:00
..
2011-02-21 00:23:24 -08:00
2011-03-10 13:48:29 -08:00
2011-03-15 20:51:53 +00:00
2011-03-20 17:55:31 -07:00
2011-03-30 22:08:41 -07:00
2011-04-05 22:30:10 -07:00
2011-04-10 17:19:01 -07:00
2011-04-12 18:19:24 -07:00
2011-04-14 10:12:10 -07:00
2011-04-28 14:40:41 -07:00
2011-05-27 09:33:33 -07:00
2012-01-17 10:50:14 -08:00
2012-01-19 21:12:57 -08:00