Commit c007e8c
authored
Avoid expensive status update in LuceneOperator (#134079)
With doc_partitioning targeting large shards, updating the status of
LuceneOperator can be expensive with many slices. This change uses the
keys of the partitioning map instead of iterating over all slices in the
queue.1 parent 190a3f1 commit c007e8c
File tree
2 files changed
+2
-21
lines changed- x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/lucene
2 files changed
+2
-21
lines changedLines changed: 2 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
37 | 36 | | |
38 | 37 | | |
39 | 38 | | |
| |||
284 | 283 | | |
285 | 284 | | |
286 | 285 | | |
287 | | - | |
| 286 | + | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
293 | 293 | | |
294 | | - | |
295 | | - | |
296 | | - | |
297 | | - | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | 294 | | |
302 | 295 | | |
303 | 296 | | |
| |||
Lines changed: 0 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
178 | 177 | | |
179 | 178 | | |
180 | 179 | | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | 180 | | |
193 | 181 | | |
194 | 182 | | |
| |||
0 commit comments