Page MenuHomePhabricator

[lib] update `useProcessDMOperation` to use `DMOperationSpecification`
ClosedPublic

Authored by kamil on Aug 23 2024, 4:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 25, 3:37 AM
Unknown Object (File)
Sat, Nov 16, 12:08 AM
Unknown Object (File)
Fri, Nov 15, 8:37 AM
Unknown Object (File)
Fri, Nov 15, 7:21 AM
Unknown Object (File)
Tue, Nov 12, 4:21 PM
Unknown Object (File)
Sun, Nov 10, 1:34 PM
Unknown Object (File)
Fri, Nov 8, 11:06 PM
Unknown Object (File)
Fri, Nov 8, 3:21 PM
Subscribers

Details

Summary

ENG-8423.

In this hook, we need to generate OutboundP2PMessages to save this 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.

Depends on D13145

Test Plan

Flow

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

Diff Detail

Repository
rCOMM Comm
Branch
landing-dms
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Aug 23 2024, 7:24 AM
tomek added inline comments.
lib/shared/dm-ops/dm-ops-queue-handler.react.js
64 ↗(On Diff #43603)

It might be a good idea to explain in a code comment why it is guaranteed to be an inbound.

This revision is now accepted and ready to land.Aug 26 2024, 1:49 AM