Remove old migrations and move schema version to the history interface
Categories
(Toolkit :: Places, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox118 | --- | fixed |
People
(Reporter: mak, Assigned: mak)
Details
Attachments
(2 files)
This is clean up I noticed while working on another bug related to origins frecency, removing this allows me to skip some not strictly necessary changes.
Assignee | ||
Comment 1•1 year ago
|
||
Since Firefox 72 was a watershed release, thus any upgrade of previous versions
must go through it, we can remove some old migrations.
We stop removing at Firefox 68, that was the last ESR before the watershed.
Also while there move the schema version to the history service so we don't have
to manually keep the migration test header in sync.
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/201950bdeb03 Remove some old Places migrations and move schema version to the history service interface. r=places-reviewers,lina
Comment 3•1 year ago
|
||
Backed out for causing xpcshell failures on test_missing_<something>.js.
Assignee | ||
Comment 4•1 year ago
|
||
That test is likely using a very old db version...
Assignee | ||
Comment 5•1 year ago
|
||
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/089798a3947e Remove some old Places migrations and move schema version to the history service interface. r=places-reviewers,lina https://hg.mozilla.org/integration/autoland/rev/4d3a71169f8d Modify some Places tests to not rely on outdated versions of the database. r=places-reviewers,lina
Comment 7•1 year ago
|
||
Backed out for causing xpcshell failures in test_current_from_v53.js and test_places_replaceOnStartup_clone.js
- Backout link
- Push with failures
- Failure Log
- Failure line: TEST-UNEXPECTED-FAIL | toolkit/components/places/tests/maintenance/test_places_replaceOnStartup_clone.js | xpcshell return code: 0
- Failure Log2
- Failure line2: TEST-UNEXPECTED-FAIL | toolkit/components/places/tests/migration/test_current_from_v53.js | database_is_valid - [database_is_valid : 9] 0 == 3
Assignee | ||
Comment 8•1 year ago
•
|
||
I wonder why Try didn't show these, and I could not see them locally. I guess I should just do a full rebase and Try run.
Edit: it was a binary patching problem, the places_v52.sqlite file ended up just being a renamed places_v43.sqlite
Pushed by mak77@bonardo.net: https://hg.mozilla.org/integration/autoland/rev/fefe544eaaa1 Remove some old Places migrations and move schema version to the history service interface. r=places-reviewers,lina https://hg.mozilla.org/integration/autoland/rev/5d075579fe14 Modify some Places tests to not rely on outdated versions of the database. r=places-reviewers,lina
Comment 10•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fefe544eaaa1
https://hg.mozilla.org/mozilla-central/rev/5d075579fe14
Description
•