Page MenuHomePhabricator

[SQLite] add table with inbound P2P messages to backup blocklist
ClosedPublic

Authored by kamil on May 16 2024, 4:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 15, 10:29 PM
Unknown Object (File)
Fri, Nov 8, 5:13 PM
Unknown Object (File)
Wed, Oct 23, 7:24 PM
Unknown Object (File)
Wed, Oct 23, 7:23 PM
Unknown Object (File)
Wed, Oct 23, 7:21 PM
Unknown Object (File)
Oct 23 2024, 2:50 AM
Unknown Object (File)
Oct 21 2024, 1:09 PM
Unknown Object (File)
Oct 19 2024, 7:29 AM
Subscribers

Details

Summary

We shouldn't back up this table. In case of restore (when some messages are not yet processed) we should as other peers to resend messages encrypted with a new session.

This should be initially done in D11722.

Depends on D12068

Test Plan

N/A

Diff Detail

Repository
rCOMM Comm
Branch
publish-broadcasting
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil retitled this revision from [SQLite] recreate table for Outbound P2P messages to [SQLite] add table with inbound P2P messages to backup blocklist.May 16 2024, 4:53 AM
kamil published this revision for review.May 16 2024, 5:14 AM
native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
46

In diff summary you say that we should "back up this table" but by adding it here you are preventing it from being backed up.

kamil added inline comments.
native/cpp/CommonCpp/DatabaseManagers/SQLiteQueryExecutor.cpp
46

My bad - we shouldn't. Summary updated

This revision is now accepted and ready to land.May 17 2024, 6:16 AM