bhouse-nexthop commented on PR #14640: URL: https://github.com/apache/cloudstack/pull/14640#issuecomment-7346826963
@DaanHoogland thanks. I've kept this PR as it is and taken your two suggestions in 1a9c8b4d67: the failure map is now `aggregatedApplyFailurePerRouter`, and each map has a comment saying what it holds and why it is synchronized. The aggregation id can come as a separate change. > When is it decided a queue is needed? On the management server; the agent never decides it. The management server sends a Start in two places: - When a router starts: `finalizeCommandsOnStart` in `VirtualNetworkApplianceManagerImpl` (and the VPC one) wraps each guest network's IP associations, rules, monitoring, DHCP and user data in a Start and a Finish. - When a network is implemented: `NetworkOrchestrator` calls `prepareAggregatedExecution` before `reprogramNetworkRules` and `completeAggregatedExecution` after it. On the agent, `executeRequest` queues any command for a router that has a queue open and applies every other command directly. That check is per router, not per job, so a command from an unrelated job can land in another job's queue. The aggregation id would fix that. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
