Repository navigation
Introduce upgrade - #1829
Merged
Merged
Introduce upgrade#1829
Conversation
robertbaldyga
force-pushed
the
upgrade
branch
from
September 29, 2026 14:35
4c434e3 to
3466569
Compare
Avoid breaking the installation completeness even if it's not working. Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Allow to build cas_cache module in two versions - one for the new cas_bd and one compatible with symvers of running cas_bd. That way we can load new cas_cache with old cas_bd temporarily, allowing for smooth transition between two versions. Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Introduce upgrade target, which performs in-flight upgrade of cas_cache module. It requires Open CAS to be built with FALLBACK_SYMVERS option pointing at the symvers file of currently loaded cas_bd module. It automatically unloads cas_cache, installs new modules in regular and symvers-compatible versions and loads cas_cache compatible with running cas_bd (transition mode). After unloading both modules or rebooting, the new versions of both modules are loaded automatically. This mechanism is currently limited to the same Open CAS version, so it is usable mostly for development purposes. It opens a path for full in-flight upgrade once metadata migration mechanism is ready. Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
robertbaldyga
force-pushed
the
upgrade
branch
from
September 29, 2026 15:05
3466569 to
01e2e45
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.