File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -177,7 +177,8 @@ impl<RT: Runtime> SearchIndexFlusher<RT> {
177177 let too_large =
178178 ( index_size > self . index_size_soft_limit ) . then_some ( BuildReason :: TooLarge ) ;
179179
180- too_old. or ( too_large)
180+ // Order matters! Too large is more urgent than too old.
181+ too_large. or ( too_old)
181182 } ,
182183 } ;
183184 if let Some ( build_reason) = needs_backfill {
Original file line number Diff line number Diff line change @@ -211,7 +211,8 @@ impl<RT: Runtime> VectorIndexFlusher<RT> {
211211 }
212212 let too_large =
213213 ( index_size > self . index_size_soft_limit ) . then_some ( BuildReason :: TooLarge ) ;
214- too_old. or ( too_large)
214+ // Order matters! Too large is more urgent than too old.
215+ too_large. or ( too_old)
215216 } ,
216217 } ;
217218 if let Some ( build_reason) = needs_backfill {
You can’t perform that action at this time.
0 commit comments