Page MenuHomePhabricator

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

Authored by kamil on Aug 23 2024, 4:54 AM.
Tags
None
Referenced Files
F3193600: D13146.id43632.diff
Fri, Nov 8, 11:06 PM
Unknown Object (File)
Fri, Nov 8, 3:21 PM
Unknown Object (File)
Fri, Nov 8, 9:45 AM
Unknown Object (File)
Fri, Nov 8, 2:29 AM
Unknown Object (File)
Fri, Oct 25, 2:37 AM
Unknown Object (File)
Sat, Oct 19, 2:33 PM
Unknown Object (File)
Sat, Oct 19, 2:33 PM
Unknown Object (File)
Sat, Oct 19, 2:32 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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