Commit 42a22b7
committed
compute: fix a race condition in collecting dependency frontiers
Prior to this commit, the code would check for the existence of storage
dependency collections, and then collect their frontiers in a second
step. This introduced the possibility of a race where storage
collections could be dropped in between the two steps, making the
compute controller panic.1 parent f932a69 commit 42a22b7
1 file changed
+5
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2035 | 2035 | | |
2036 | 2036 | | |
2037 | 2037 | | |
2038 | | - | |
| 2038 | + | |
2039 | 2039 | | |
2040 | 2040 | | |
2041 | 2041 | | |
2042 | | - | |
2043 | | - | |
2044 | | - | |
2045 | | - | |
2046 | | - | |
2047 | | - | |
2048 | | - | |
2049 | | - | |
2050 | | - | |
2051 | | - | |
2052 | | - | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
2053 | 2046 | | |
2054 | 2047 | | |
2055 | 2048 | | |
| |||
0 commit comments