placement/releasenotes/notes/allocation_conflict_retry_count-329daae86059f5ec.yaml
Chris Dent 7753694d29 Add allocation_conflict_retry_count conf setting
A [placement]/allocation_conflict_retry_count config setting
has been added to replace the RP_CONFLICT_RETRY_COUNT constant
previous used to set the number of retries that will be
attempted when there is a resource provider generation conflict
when writing allocations.

Change-Id: Iaa2c9007d8656dd02cda9313459a233efd38c841
Story: 2006467
Task: 36398
2019-11-13 12:13:22 +00:00

19 lines
842 B
YAML

---
fixes:
- |
When a single resource provider receives many concurrent allocation writes,
retries may be performed server side when there is a resource provider
generation conflict. When those retries are all consumed, the client
receives an HTTP 409 response and may choose to try the request again.
In an environment where high levels of concurrent allocation writes are
common, such as a busy clustered hypervisor, the default retry count may be
too low. See story 2006467_
A new configuation setting,
``[placement]/allocation_conflict_retry_count``, has been added to address
this situation. It defines the number of times to retry, server-side,
writing allocations when there is a resource provider generation conflict.
.. _2006467: https://storyboard.openstack.org/#!/story/2006467