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
Unknown Object (File)
Mon, Dec 16, 5:22 PM
Unknown Object (File)
Mon, Dec 16, 5:22 PM
Unknown Object (File)
Mon, Dec 16, 5:22 PM
Unknown Object (File)
Mon, Dec 16, 5:22 PM
Unknown Object (File)
Mon, Dec 16, 5:22 PM
Unknown Object (File)
Thu, Dec 5, 10:48 PM
Unknown Object (File)
Wed, Dec 4, 7:38 AM
Unknown Object (File)
Mon, Dec 2, 1:23 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.