Page MenuHomePhabricator

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

Authored by kamil on Sep 6 2024, 4:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 15, 4:06 AM
Unknown Object (File)
Sat, Mar 15, 4:06 AM
Unknown Object (File)
Sat, Mar 15, 4:06 AM
Unknown Object (File)
Sat, Mar 15, 4:06 AM
Unknown Object (File)
Thu, Feb 20, 5:39 AM
Unknown Object (File)
Wed, Feb 19, 11:46 AM
Unknown Object (File)
Feb 12 2025, 8:07 PM
Unknown Object (File)
Feb 12 2025, 8:07 PM
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