mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-04 03:36:30 +00:00
Update dumpless upgrades
This commit is contained in:
@ -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)
|
||||||
|
@ -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,
|
||||||
|
Reference in New Issue
Block a user