Pearl1594 commented on issue #14835: URL: https://github.com/apache/cloudstack/issues/14835#issuecomment-7166634246
@andrijapanicsb wrt the Netris upgrade sql, I believe it's a corner case. Before 4.22.2, deleting a Netris network never released its VNET, so it stayed taken and could not be reassigned. That is the leak this migration reclaims, so on a first upgrade from any earlier release the match is correct. A wrong match is possible ONLY on a site that already ran the release fix (4.22.2 or later). There, a network deleted while still Allocated frees its VNET but keeps the stale netris://N URI on the removed row. If a live network then reuses that VNET and the site later upgrades (e.g. 4.22.2+ -> 24.0), the statement can clear the live allocation. It is rare, but worth closing. I'll add a guard to all copies that skips VNETs referenced by a live network in the same zone. cc @nvazquez -- 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]
