Stop exposing the greenthread abstraction in compute.manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Undecided
|
Unassigned |
Bug Description
In order to make it easier to someday (or maybe not someday) move off of greenlet/eventlet it would be nice to not always expose things like greenthread.
For example:
for bw_ctr in bw_counters:
# Allow switching of greenthreads between queries.
greenthread
# Do work...
Instead this could be:
for bw_ctr in task_switcher_
# Do work...
Notice that we can now make the 'task_switcher_
or not do it at all, thus making the code cleaner and making it easier to drop
eventlet if this ever becomes a issue (aka with python3 lacking eventlet support)
summary: |
- Stop exposing the greenthread abstraction + Stop exposing the greenthread abstraction in compute.manager |
Changed in nova: | |
assignee: | nobody → Joshua Harlow (harlowja) |
Changed in nova: | |
status: | Triaged → Opinion |
Fix proposed to branch: master /review. openstack. org/25751
Review: https:/