designate/releasenotes/notes/worker-executor-84d983c92dd13b49.yaml
Graham Hayes 72e4e13d8e
Move to GreenThreadPoolExecutor
python3.7 and eventlet cause the `future.ThreadPoolExecutor` to hang
indefinitely. Moving to `futurist.GreenThreadPoolExecutor` allows the
`designate-worker` process to use native eventlet greenthreads, which bypasses
the hanging issue.

Closes-Bug: #1782647

Related-Bug: https://bugs.python.org/issue34173
Related-Bug: eventlet/eventlet#508

Change-Id: I36c79ca72635d81cfcc8d3cc87b1bc5e0657d9e8
Signed-off-by: Graham Hayes <gr@ham.ie>
2018-10-19 17:25:30 +01:00

9 lines
375 B
YAML

---
other:
- |
To allow for python3.7 support, the `designate-worker` service was changed
from a `ThreadPoolExecutor` to a `GreenThreadPoolExecutor`. This should
no impact for most deployments, but in some cases it may cause performance
degredation. In these cases, tuning `[service:worker].workers` and
`[service:worker].threads` alleviate the issues.