Commit 2d4afb8
authored
Fix concurrent cache map race in fillInIDs lock planning
Build query dependency trees before collecting cache locks so fillInIDs holds read locks for all resources it may traverse, preventing concurrent map read/write panics under stress.1 parent 2de135a commit 2d4afb8
1 file changed
Lines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
405 | | - | |
| 405 | + | |
| 406 | + | |
406 | 407 | | |
407 | 408 | | |
408 | 409 | | |
| 410 | + | |
409 | 411 | | |
410 | 412 | | |
411 | 413 | | |
412 | 414 | | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | 415 | | |
419 | 416 | | |
420 | 417 | | |
| |||
0 commit comments