Page MenuHomePhabricator

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

Authored by kamil on Aug 23 2024, 4:54 AM.
Tags
None
Referenced Files
F3396144: D13146.id43632.diff
Sun, Dec 1, 10:39 AM
F3396032: D13146.diff
Sun, Dec 1, 10:00 AM
Unknown Object (File)
Fri, Nov 29, 5:29 AM
Unknown Object (File)
Fri, Nov 29, 5:24 AM
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
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