Comment 2 for bug 1836834

Revision history for this message
qinhaizhong (qinhaizhong) wrote :

@minsel,
Our core logic is as follows:
Based on the original _generate_ips algorithm, this method will be reimplemented. The ips calculated for _generate_ips will be "ip+subnet_id" as the key plus the distributed lock. If the lock failure means conflict, we will re-generate_ips when allocated. After the ip is submitted to the database, it is unlocked, which guarantees concurrent performance and completely resolves conflicts.

"And it is an openstack native project.",I mean that tooz is an openstack native project, I have updated the description. Thank you.