mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +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,
|
||||
};
|
||||
if !regenerate_fragments.is_empty() {
|
||||
regenerate_fragments.sort_unstable_by(|(left, _), (right, _)| left.cmp(right));
|
||||
ReindexAction::push_action(
|
||||
reindex_action,
|
||||
ReindexAction::RegenerateFragments(regenerate_fragments),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue