Homec4science

Add a GC for user logs

Authored by epriestley <git@epriestley.com> on Feb 3 2014, 19:51.

Description

Add a GC for user logs

Summary:
Fixes T4368. This is the last "obvious" table we have which we should be GC'ing but do not. It's about 1/12th of the data on secure.phabricator.com.

This table stores logins, account creation, password resets, login attempts, etc, and is primarily useful if something sketchy happens so you can go back and review login activity. This data is not useful indefinitely, and there's no reason to retain it forever. Because you don't always know when something sketchy happened I've given this table a fairly long TTL (180 days), but we don't need limitless amounts of this data.

Test Plan: Ran phd debug garbage and saw a reasonable amount of data get GC'd. This table already has an appropriate key.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4368

Differential Revision: https://secure.phabricator.com/D8128

Details

Committed
epriestley <git@epriestley.com>Feb 3 2014, 19:51
Pushed
aubortJan 31 2017, 17:16
Parents
rPH88436349b852: Add a GC for sent and received mail
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPH5a9a96735dde: Add a GC for user logs (authored by epriestley <git@epriestley.com>).Feb 3 2014, 19:51