Commit 8433127
authored
Fix potential block leak in LuceneSourceOperator (elastic#123835) (elastic#123836)
A follow-up to elastic#123296 to address a potential block leak that may occur
when a circuit-breaking exception is triggered while truncating the docs
or scores blocks.
Relates elastic#1232961 parent 2c3e84d commit 8433127
File tree
1 file changed
+12
-10
lines changed- x-pack/plugin/esql/compute/src/main/java/org/elasticsearch/compute/lucene
1 file changed
+12
-10
lines changedLines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
235 | | - | |
236 | | - | |
237 | | - | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
238 | 241 | | |
239 | | - | |
240 | | - | |
241 | 242 | | |
242 | 243 | | |
243 | 244 | | |
| |||
247 | 248 | | |
248 | 249 | | |
249 | 250 | | |
250 | | - | |
251 | | - | |
252 | | - | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
253 | 257 | | |
254 | | - | |
255 | | - | |
256 | 258 | | |
257 | 259 | | |
258 | 260 | | |
| |||
0 commit comments