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 22, 9:14 AM
Unknown Object (File)
Fri, Nov 22, 8:59 AM
Unknown Object (File)
Fri, Nov 22, 3:39 AM
Unknown Object (File)
Fri, Nov 15, 10:29 PM
Unknown Object (File)
Fri, Nov 8, 5:13 PM
Unknown Object (File)
Oct 23 2024, 7:24 PM
Unknown Object (File)
Oct 23 2024, 7:23 PM
Unknown Object (File)
Oct 23 2024, 7:21 PM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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 ↗(On Diff #40282)

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 ↗(On Diff #40282)

My bad - we shouldn't. Summary updated

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