Page MenuHomePhabricator

[lib] move generating P2P messages to `useProcessDMOperation`
ClosedPublic

Authored by kamil on Aug 23 2024, 5:10 AM.
Tags
None
Referenced Files
F6078622: D13149.id43648.diff
Sun, Apr 20, 4:48 PM
Unknown Object (File)
Sat, Apr 19, 4:03 PM
Unknown Object (File)
Sat, Apr 19, 7:31 AM
Unknown Object (File)
Fri, Apr 18, 10:58 AM
Unknown Object (File)
Thu, Apr 17, 6:56 AM
Unknown Object (File)
Mar 11 2025, 11:55 PM
Unknown Object (File)
Mar 8 2025, 11:40 AM
Unknown Object (File)
Mar 8 2025, 11:40 AM
Subscribers

Details

Summary

ENG-8423.

We need to process DM Operations and save OutboundP2PMessages in DB in the same SQL transaction to handle cases when the app crashes after applying changes to our store and before addressing messages to other peers - this is inconsistency from which we're unable to heal.

The existing place of generating messages is removed later in the stack.

Depends on D13148

Test Plan

Check that messages are persisted along with changes to store.

Note: This stack is tested end-to-end according to the process described here.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable