Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
8c17476
commit 72e4e13
Showing
4 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters