Page MenuHomePhabricator

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

Authored by kamil on Mon, Apr 22, 5:52 PM.
Tags
None
Referenced Files
F1697538: D11731.id39655.diff
Fri, May 3, 7:04 PM
Unknown Object (File)
Thu, May 2, 9:38 PM
Unknown Object (File)
Thu, May 2, 12:25 AM
Unknown Object (File)
Mon, Apr 29, 10:00 AM
Unknown Object (File)
Sat, Apr 27, 1:12 PM
Unknown Object (File)
Thu, Apr 25, 8:25 PM
Unknown Object (File)
Tue, Apr 23, 1:50 AM
Unknown Object (File)
Tue, Apr 23, 1:49 AM
Subscribers

Details

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

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable