Commit 9af7be5
UPSTREAM: <carry>: delay queuing deletion for PV to allow nodes some time to unmount
UPSTREAM: <carry>: Fix sync of PV deletion in PV controller
Always queue PV deletion events immediately, without any wait. It does not
affect dynamic de-provisioning / deletion of volumes, it's done on PVC
deletion.
This de-flakes unit tests, which expect that PV deletion is processed without
waiting too much.
This updates carry patch b24f93e. It still waits for 21 seconds after *PVC*
deletion!
UPSTREAM: <carry>: delay queuing deletion for PV to allow nodes some time to unmount
openshift-rebase(v1.24):source=c5fd34497341 parent e4d66c1 commit 9af7be5
File tree
2 files changed
+20
-3
lines changed- pkg/controller/volume/persistentvolume
2 files changed
+20
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
Lines changed: 19 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
200 | 214 | | |
201 | 215 | | |
202 | 216 | | |
| |||
298 | 312 | | |
299 | 313 | | |
300 | 314 | | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
301 | 318 | | |
302 | | - | |
| 319 | + | |
303 | 320 | | |
304 | 321 | | |
305 | 322 | | |
| |||
0 commit comments