Closed
Bug 1130193
Opened 6 years ago
Closed 4 years ago
turn on config enablePruning in production
Categories
(Cloud Services :: Server: Firefox Accounts, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jrgm, Assigned: vladikoff)
Details
This never got enabled and fell off the radar. My fault. We need to turn on enablePruning in production (and re-estimate if we can just turn it on, or if we need to do little trimming if the tables are too large (shouldn't be)).
Comment 1•6 years ago
|
||
Isn't this just a config option in the DB Server config to turn it on? ie. that we have control over.
Comment 2•6 years ago
|
||
> This never got enabled and fell off the radar
:jrgm, did this continue its fall off the radar, or is it running in prod these days?Flags: needinfo?(jrgm)
Comment 3•5 years ago
|
||
:jrgm, did we ever get around to doing this in production?
| Assignee | ||
Comment 4•4 years ago
|
||
Talked to :jrgm about this and we wanted to confirm that the `pruneBefore` value is correct here: https://github.com/mozilla/fxa-auth-db-mysql/blob/22e27d16d635927d2facfe8382030ec10447e600/lib/db/schema/patch-003-004.sql#L3 the `pruneBefore` value is also used here https://github.com/mozilla/fxa-auth-db-mysql/blob/a902f48a57cebbd17350818d90c23246099de9d2/lib/db/mysql.js#L948 as a `TOKEN OLDER THAN` 30 mins? Is that correct?
Flags: needinfo?(jrgm) → needinfo?(rfkelly)
Comment 5•4 years ago
|
||
:vladikoff you're right, there's something very fishy about use of `pruneBefore`. I think it will work as long a `options.pruneEvery` is greater than or equal to the maximum lifetime of any of these tokens, but we should probably re-work things a little here to make it more obvious that this is the case. Maybe we can rename it to "maxTokenLifetime" or something.
Flags: needinfo?(rfkelly)
Comment 7•4 years ago
|
||
I added some notes on code cleanups in https://github.com/mozilla/fxa-auth-db-mysql/issues/201
| Assignee | ||
Comment 8•4 years ago
|
||
This is on track to be turned on in Train-81, a note made in the deploy doc for this...
Status: NEW → RESOLVED
Closed: 4 years ago
Flags: needinfo?(vlad)
Resolution: --- → FIXED
| Assignee | ||
Updated•4 years ago
|
Assignee: jrgm → vlad
You need to log in
before you can comment on or make changes to this bug.
Description
•