Page MenuHomePhabricator

Dramatically limit the range of failures which can cause duplicate mail
ClosedPublic

Authored by epriestley on Jun 16 2015, 11:22 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 5:45 PM
Unknown Object (File)
Thu, Dec 12, 5:43 AM
Unknown Object (File)
Wed, Dec 11, 2:59 PM
Unknown Object (File)
Sun, Dec 8, 12:44 PM
Unknown Object (File)
Wed, Dec 4, 7:12 PM
Unknown Object (File)
Wed, Dec 4, 7:11 PM
Unknown Object (File)
Wed, Dec 4, 7:11 PM
Unknown Object (File)
Wed, Dec 4, 7:03 PM
Subscribers
Tokens
"Mountain of Wealth" token, awarded by btrahan.

Details

Summary

Ref T8574. Currently, failures during mail body construction, feed publishing, or search indexing could cause us to retry the publishing task and potentially send duplicate mail.

Instead, build (but do not send) the mail first, then send all the mail at the very end.

This isn't completley perfect, but should make it enormously harder for duplicate mail to be generated.

Test Plan

Sent some mail, ran the daemons, saw it show up normally in the outbound queue.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Dramatically limit the range of failures which can cause duplicate mail.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: btrahan.
btrahan edited edge metadata.
This revision is now accepted and ready to land.Jun 16 2015, 11:25 PM
This revision was automatically updated to reflect the committed changes.