mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-07 05:06:31 +00:00
make sure fragments are ordered
This commit is contained in:
@ -1150,6 +1150,7 @@ impl SettingsDiff {
|
|||||||
(left, Setting::NotSet) => left,
|
(left, Setting::NotSet) => left,
|
||||||
};
|
};
|
||||||
if !regenerate_fragments.is_empty() {
|
if !regenerate_fragments.is_empty() {
|
||||||
|
regenerate_fragments.sort_unstable_by(|(left, _), (right, _)| left.cmp(right));
|
||||||
ReindexAction::push_action(
|
ReindexAction::push_action(
|
||||||
reindex_action,
|
reindex_action,
|
||||||
ReindexAction::RegenerateFragments(regenerate_fragments),
|
ReindexAction::RegenerateFragments(regenerate_fragments),
|
||||||
|
Reference in New Issue
Block a user