Commit 36759f3
[BUG] Potenial memory leak when encountering disk unhealthy (#370)
### What changes were proposed in this pull request?
Fix potential memory leak when encountering disk unhealthy
### Why are the changes needed?
When encountering disk unhealthy and exceed the timeout of pendingDataShuffleFlushEvent, it will release memory. But in current codebase, it wont release the data reference and cause the memory leak.
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
No need.1 parent 753f7b3 commit 36759f3
1 file changed
Lines changed: 12 additions & 8 deletions
Lines changed: 12 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
| 211 | + | |
215 | 212 | | |
216 | | - | |
217 | 213 | | |
218 | 214 | | |
219 | 215 | | |
| |||
310 | 306 | | |
311 | 307 | | |
312 | 308 | | |
313 | | - | |
314 | | - | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
315 | 314 | | |
316 | 315 | | |
317 | | - | |
| 316 | + | |
318 | 317 | | |
319 | 318 | | |
320 | 319 | | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
321 | 325 | | |
322 | 326 | | |
323 | 327 | | |
| |||
0 commit comments