Closed Bug 1913826 Opened 2 months ago Closed 24 days ago

Implement an rkv migrator for Skv databases

Categories

(Core :: SQLite and Embedded Database Bindings, task, P3)

task

Tracking

()

RESOLVED FIXED
132 Branch
Tracking Status
firefox132 --- fixed

People

(Reporter: lina, Assigned: lina)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

This bug tracks implementing a migrator that can read all key-value pairs from a safe-mode rkv database, then bulk-insert them into an Skv database.

Product: Toolkit → Core

This commit introduces an API for migrating Rkv "safe mode"
databases to Skv.

JS consumers can create an importer using
SQLiteKeyValueService.createImporter(), then call its
import() or importAll() methods to migrate one or more
Rkv databases. These APIs wrap the lower-level
nsIKeyValueImporter interface, also introduced in this commit.

We'll use these new interfaces to migrate existing consumers
one by one.

Pushed by lbutler@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e83d69522066 Implement an Skv importer for Rkv stores. r=nanj
Status: ASSIGNED → RESOLVED
Closed: 24 days ago
Resolution: --- → FIXED
Target Milestone: --- → 132 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: