Page MenuHomePhabricator

Retroactively populate Phriction mailKey column
ClosedPublic

Authored by epriestley on Nov 7 2014, 12:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 4, 5:19 AM
Unknown Object (File)
Tue, Dec 3, 8:43 PM
Unknown Object (File)
Mon, Dec 2, 10:42 AM
Unknown Object (File)
Wed, Nov 27, 6:34 PM
Unknown Object (File)
Sun, Nov 24, 5:16 AM
Unknown Object (File)
Tue, Nov 19, 8:08 AM
Unknown Object (File)
Nov 11 2024, 7:33 AM
Unknown Object (File)
Nov 3 2024, 6:58 AM
Subscribers

Details

Summary

Fixes T6487. Ref T1191. Ref T4029. D10756 introduced, but did not populate, this column. This can cause it to fill with "\0\0\0..." after adjustment.

Regardless of the adjustment issue, it's nice to populate this column anyway because there's no fundamental reason an object can't have mail sent about it without being saved first, even though it may not practically be possible in the codebase today.

Test Plan
  • Ran storage upgrade, saw the column populate for older documents.
  • Forced a couple of keys to bad values (too short or with "\0") and saw the migration fix them.

Diff Detail

Repository
rP Phabricator
Branch
phriction1
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2977
Build 2981: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

epriestley retitled this revision from to Retroactively populate Phriction mailKey column.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.

Sorry; I thought this would just work since afaik mails would be sent via the editor iff the object was saved first. Whoops.

This revision is now accepted and ready to land.Nov 7 2014, 4:53 PM
This revision was automatically updated to reflect the committed changes.