Fix infinite VM creation retries when there is a single Datacenter (P… · cloudsimplus/cloudsimplus@e352bb3 · GitHub
Skip to content

Commit e352bb3

Browse files
manoelcamposclaude
andauthored
Fix infinite VM creation retries when there is a single Datacenter (PR #577)
The fallback Datacenter request was flagged as a creation retry, which reset each VM's last tried Datacenter. With a single Datacenter, the same one was selected again right away, bypassing the VmCreation retry delay and max retries. - Request the fallback Datacenter as a fallback (not a retry) - Return whether some VM creation request was actually sent - Add VmCreationRetryIntegrationTest Relates to cloudsimplus/cloudsimplus-examples#31 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 961345e commit e352bb3

2 files changed

Lines changed: 142 additions & 7 deletions

File tree

‎src/main/java/org/cloudsimplus/brokers/DatacenterBrokerAbstract.java‎

Lines changed: 11 additions & 7 deletions
Lines changed: 131 additions & 0 deletions

0 commit comments

Comments
 (0)