8a47577b76
Fix a potential race condition, the member batch update API call computes a delta between the current state of the members in the DB and the members in the requests. But it fetches the members from the DB before locking the load balancer, it means that another Octavia service may still update the list of members, then the computation of the changes may be incorrect. The list of members is now queried in the locked section. Closes-Bug: #2036156 Change-Id: I453ff385620f488a3e43d4fda01634cdce3be5d4
8 lines
279 B
YAML
8 lines
279 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixed a race condition in the members batch update API call, the data
|
|
passed to the Octavia worker service may have been incorrect when quickly
|
|
sending successive API calls. Then the load balancer was stuck in
|
|
PENDING_UPDATE provisioning_status.
|