Monkey patching missing for object expirer code
Bug #1890335 reported by
Kottur
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
New
|
Undecided
|
Unassigned |
Bug Description
Monkey patching is required to utilize/harness the greenthreads. Object expirer code does not monkey patch (eventlet monkey patch - select and thread).
tags: |
added: container-server removed: eventlet |
tags: |
added: object-server removed: container-server |
To post a comment you must log in.
The expirer uses an explicitly-managed pool of greenthreads to do the bulk of its work, avoiding the need to monkey-patch: https:/ /github. com/openstack/ swift/blob/ 2.26.0/ swift/obj/ expirer. py#L317
Maybe it'd be worth parallelizing the enumeration of work to be done, too, but the cardinalities usually work out well enough (save for some bugs like https:/ /bugs.launchpad .net/swift/ +bug/1883561).