Commit 3b299a3
authored
Fix race in RemoveRemoteObjects where remote LWS is not deleted (#9201)
When MultiKueueGC deletes the remote workload before the reconciler
processes the deletion, RemoveRemoteObjects would early-return on
remWl == nil without deleting the remote controller object (e.g., LWS).
Move DeleteRemoteObject before the nil check to ensure the remote
controller object is always deleted regardless of remote workload state.
Signed-off-by: Sohan Kunkerkar <sohank2602@gmail.com>1 parent 78380d5 commit 3b299a3
1 file changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
130 | 133 | | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
131 | 138 | | |
132 | 139 | | |
133 | 140 | | |
134 | 141 | | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | 142 | | |
139 | 143 | | |
140 | 144 | | |
| |||
0 commit comments