change(state): Support in-place disk format upgrades for major database version bumps - #8748
Conversation
arya2
left a comment
There was a problem hiding this comment.
This is looking great, thank you!
conradoplg
left a comment
There was a problem hiding this comment.
There is a small fix required for Windows.
I was confused by some of the code but I think I got it. I suggested some comments which should hopefully help whoever reads the code in the future, feel free to tweak them.
Also I noticed the upgrade itself is not here, was it planned to be done in another PR?
Co-authored-by: Conrado Gouvea <conrado@zfnd.org>
I originally had similar comments in the code, but I deleted them because I thought the |
Yes, this PR only moves the old db to a new path. Zebra then uses the db and rewrites the The new |
conradoplg
left a comment
There was a problem hiding this comment.
Ah, got it, thanks. LGTM!
Motivation
Close #8745.
Solution
Tests
PR Author's Checklist
PR Reviewer's Checklist