Update dumpless upgrades

This commit is contained in:
Mubelotix
2025-08-18 09:44:55 +02:00
parent 36cac8acf7
commit c974f0ab0a
2 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,8 @@ pub fn upgrade_index_scheduler(
(1, 14, _) => 0, (1, 14, _) => 0,
(1, 15, _) => 0, (1, 15, _) => 0,
(1, 16, _) => 0, (1, 16, _) => 0,
(1, 17, _) => 0,
(1, 18, _) => 0,
(major, minor, patch) => { (major, minor, patch) => {
if major > current_major if major > current_major
|| (major == current_major && minor > current_minor) || (major == current_major && minor > current_minor)

View File

@ -65,6 +65,7 @@ const fn start(from: (u32, u32, u32)) -> Option<usize> {
(1, 15, _) => function_index!(6), (1, 15, _) => function_index!(6),
(1, 16, _) => function_index!(7), (1, 16, _) => function_index!(7),
(1, 17, _) => function_index!(8), (1, 17, _) => function_index!(8),
(1, 18, _) => function_index!(8),
// We deliberately don't add a placeholder with (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH) here to force manually // We deliberately don't add a placeholder with (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH) here to force manually
// considering dumpless upgrade. // considering dumpless upgrade.
(_major, _minor, _patch) => return None, (_major, _minor, _patch) => return None,