Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug 1676866 - Migrate to safe mode #1322

Merged
merged 4 commits into from
Nov 17, 2020
Merged

Bug 1676866 - Migrate to safe mode #1322

merged 4 commits into from
Nov 17, 2020

Conversation

badboy
Copy link
Member

@badboy badboy commented Nov 13, 2020

This automatically migrates an existing LMDB database of Glean to a safe-mode database, if and only if the rkv-safe-mode feature is activated on the glean-core crate.

The plan will be to enable this in mozilla-central.
I already took this for a manual test using my local m-c checkout and migration succeeds as expected and keeps the client_info.client_id.

@badboy badboy requested a review from Dexterp37 November 13, 2020 11:24
@auto-assign auto-assign bot requested a review from brizental November 13, 2020 11:24
@badboy badboy changed the title Migrate to safe mode Bug 1676866 - Migrate to safe mode Nov 13, 2020
@badboy badboy removed the request for review from brizental November 13, 2020 11:24
glean-core/src/database/mod.rs Outdated Show resolved Hide resolved
glean-core/src/database/mod.rs Outdated Show resolved Hide resolved
[doc only]

Co-authored-by: Alessio Placitelli <[email protected]>
@badboy badboy force-pushed the migrate-to-safe-mode branch from db70a96 to abdb786 Compare November 16, 2020 10:24
@badboy badboy merged commit 553b77d into main Nov 17, 2020
@badboy badboy deleted the migrate-to-safe-mode branch November 17, 2020 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants