HomePhabricator
Diffusion Comm 76f9dbf4650f

[lib/web/native] implement sending confirmation of processed message

Description

[lib/web/native] implement sending confirmation of processed message

Summary:
Confirmation after the message is processed.

Implementing only sending - the handling of confirmation will be implemented in the next goal Broadcasting information to peers.

This is the logic for a non-primary device where we could confirm the message right after processing DB ops. For primary we will have to wait until the backup log is uploaded, this is tracked in Backup client changes for syncing data & log upload. (cc. @marcin)

Depends on D11730, D11729

Test Plan: Manually add some messages and process them, check if confirmation is sent

Reviewers: tomek, marcin

Reviewed By: marcin

Subscribers: marcin, ashoat

Differential Revision: https://phab.comm.dev/D11731

Details

Provenance
kamilAuthored on Apr 22 2024, 5:52 PM
Reviewer
marcin
Differential Revision
D11731: [lib/web/native] implement sending confirmation of processed message
Parents
rCOMM414c1f3ea27f: [web] render `DBOpsHandler` in `TunnelbrokerProvider`
Branches
Unknown
Tags
Unknown