Page MenuHomePhabricator

[native] Add a migration that moves entries to SQLite
ClosedPublic

Authored by tomek on May 21 2024, 8:56 AM.
Tags
None
Referenced Files
F3374496: D12157.diff
Tue, Nov 26, 3:45 PM
Unknown Object (File)
Sun, Nov 24, 8:54 PM
Unknown Object (File)
Sat, Nov 23, 3:21 AM
Unknown Object (File)
Sun, Nov 10, 12:19 PM
Unknown Object (File)
Sun, Nov 10, 8:58 AM
Unknown Object (File)
Sun, Nov 10, 4:51 AM
Unknown Object (File)
Sun, Nov 10, 1:38 AM
Unknown Object (File)
Fri, Nov 8, 4:29 PM
Subscribers

Details

Summary

This migration saves the entries in SQLite

Depends on D12152

https://linear.app/comm/issue/ENG-3486/move-entrystore-to-sqlite

Test Plan

Killed a keyserver, opened the app - checked the logs, and verified that the migration was run. If the migration hasn't moved the entries successfully, there would be an alert reporting store inconsistencies.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.May 21 2024, 9:41 AM
Harbormaster failed remote builds in B29122: Diff 40489!
Harbormaster returned this revision to the author for changes because remote builds failed.May 21 2024, 12:57 PM
Harbormaster failed remote builds in B29140: Diff 40508!
tomek requested review of this revision.May 21 2024, 1:15 PM
marcin added inline comments.
native/redux/persist.js
1310 ↗(On Diff #40508)

Is this strictly necessary? Not opposed - just curious.

This revision is now accepted and ready to land.May 22 2024, 2:53 AM
native/redux/persist.js
1310 ↗(On Diff #40508)

Maybe not necessary, but we're using the same approach in other migrations and I think it is a bit safer.