HomePhabricator
Diffusion Comm 6a5b8410c86c

[native] Verify if the backup version is correct

Description

[native] Verify if the backup version is correct

Summary:
Check the version before we override the DB content.

version.png (208×291 px, 47 KB)

https://linear.app/comm/issue/ENG-7008/detect-that-the-compaction-is-from-a-newer-version-than-the-app-and

Depends on D12012

Test Plan: Checked if restoration of the backup fails when a version of the backup is newer than the app.

Reviewers: kamil, marcin, varun

Reviewed By: kamil, marcin

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D12013

Details

Provenance
tomekAuthored on May 10 2024, 5:40 AM
Reviewer
kamil
Differential Revision
D12013: [native] Verify if the backup version is correct
Parents
rCOMMf010d27dcad2: [native] Create a function returning the DB version
Branches
Unknown
Tags
Unknown