From c974f0ab0a37a64ebc0375f889fa2fa2bd415a5d Mon Sep 17 00:00:00 2001 From: Mubelotix Date: Mon, 18 Aug 2025 09:44:55 +0200 Subject: [PATCH] Update dumpless upgrades --- crates/index-scheduler/src/upgrade/mod.rs | 2 ++ crates/milli/src/update/upgrade/mod.rs | 1 + 2 files changed, 3 insertions(+) diff --git a/crates/index-scheduler/src/upgrade/mod.rs b/crates/index-scheduler/src/upgrade/mod.rs index a749b31d5..310e48e95 100644 --- a/crates/index-scheduler/src/upgrade/mod.rs +++ b/crates/index-scheduler/src/upgrade/mod.rs @@ -40,6 +40,8 @@ pub fn upgrade_index_scheduler( (1, 14, _) => 0, (1, 15, _) => 0, (1, 16, _) => 0, + (1, 17, _) => 0, + (1, 18, _) => 0, (major, minor, patch) => { if major > current_major || (major == current_major && minor > current_minor) diff --git a/crates/milli/src/update/upgrade/mod.rs b/crates/milli/src/update/upgrade/mod.rs index ecd1cec6c..1152c9234 100644 --- a/crates/milli/src/update/upgrade/mod.rs +++ b/crates/milli/src/update/upgrade/mod.rs @@ -65,6 +65,7 @@ const fn start(from: (u32, u32, u32)) -> Option { (1, 15, _) => function_index!(6), (1, 16, _) => function_index!(7), (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 // considering dumpless upgrade. (_major, _minor, _patch) => return None,