Page MenuHomePhabricator

[lib] mark messages as sent when there is no `messageID` in Outbound messages table
ClosedPublic

Authored by kamil on Fri, Sep 6, 4:28 AM.
Tags
None
Referenced Files
F2753132: D13255.diff
Wed, Sep 18, 4:39 PM
F2746741: D13255.diff
Wed, Sep 18, 8:11 AM
Unknown Object (File)
Mon, Sep 16, 3:12 PM
Unknown Object (File)
Mon, Sep 16, 5:48 AM
Unknown Object (File)
Mon, Sep 16, 4:10 AM
Unknown Object (File)
Fri, Sep 13, 11:59 AM
Unknown Object (File)
Fri, Sep 13, 3:25 AM
Unknown Object (File)
Fri, Sep 13, 2:49 AM
Subscribers

Details

Summary

Handle edge-case when the message was sent, but it wasn't updated in the message store (e.g. app was killed), but was already confirmed by the other peer - and when hitting retry there is no message with given ID in the outbound messages table.

Test Plan

Test case described in summary.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable