mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 04:17:10 +02:00
make sure fragments are ordered
This commit is contained in:
parent
119d618a76
commit
eda309d562
1 changed files with 1 additions and 0 deletions
|
@ -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),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue