Commit b7be64f
committed
fix(linstor): use name filter in isResourceDefinitionGone
resourceDefinitionList(null, ...) fetched every RD on the cluster and
then streamed for a match — repeated once per second from
waitForResourceDefinitionDeleted this scales with cluster size. Pass
the name as the rscDfns filter so the controller returns an empty
list when the RD is gone.
Also clarify the timeout-constant Javadoc per copilot/abh1sar review
(constant is used from management-server paths too, not just agents).
Addresses review comments from @rp- and Copilot on #13076.1 parent 21c6110 commit b7be64f
1 file changed
Lines changed: 8 additions & 7 deletions
File tree
- plugins/storage/volume/linstor/src/main/java/org/apache/cloudstack/storage/datastore/util
Lines changed: 8 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
404 | 404 | | |
405 | 405 | | |
406 | 406 | | |
407 | | - | |
| 407 | + | |
| 408 | + | |
408 | 409 | | |
409 | 410 | | |
410 | 411 | | |
411 | 412 | | |
412 | 413 | | |
413 | 414 | | |
414 | 415 | | |
415 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
416 | 419 | | |
417 | 420 | | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
423 | 424 | | |
424 | 425 | | |
425 | 426 | | |
| |||
0 commit comments