Page MenuHomePhabricator

[SQLite] copy tables during restore instead of replacing entire database
AcceptedPublic

Authored by kamil on Thu, Apr 3, 2:45 AM.

Details

Reviewers
bartek
Summary

ENG-10489.

The Online Backup API completely erases data in the existing (target database). This causes the user to be logged out because olm_persist_account is not included in the backup, which means when we download and restore, the Olm account is completely erased, which causes CSAT invalidation.

Depends on D14518

Test Plan

Existing tables (e.g. olm_persist_account) are not overwritten during restore

Diff Detail

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

Event Timeline

kamil held this revision as a draft.
kamil retitled this revision from [SQLite] copy tables during restore instead of replacing entire database to [SQLite] copy tables during restore instead of replacing entire database.Thu, Apr 3, 2:46 AM
kamil published this revision for review.Thu, Apr 3, 3:13 AM
This revision is now accepted and ready to land.Thu, Apr 3, 3:51 AM