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)
Wed, Jun 19, 9:45 AM
Unknown Object (File)
Wed, Jun 19, 9:45 AM
Unknown Object (File)
Wed, Jun 19, 9:12 AM
Unknown Object (File)
Fri, Jun 14, 11:20 PM
Unknown Object (File)
Wed, Jun 12, 11:23 PM
Unknown Object (File)
Mon, Jun 10, 4:11 AM
Unknown Object (File)
Mon, Jun 10, 2:59 AM
Unknown Object (File)
Sun, Jun 9, 6:33 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
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