← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2097257] [NEW] [eventlet-removal] Use ``ThreadPoolExecutor`` for ``periodics.PeriodicWorker``

 

Public bug reported:

The default ``executor_factory`` in
``futurist.periodics.PeriodicWorker`` is ``SynchronousExecutor``. This
executor is not reliable to provide an on-time periodic execution for
the requested method. When the eventlet removal finishes and all workers
are using kernel threads, it will be recommended to switch to
``ThreadPoolExecutor`` by default.

This class is used in the OVN ``MaintenanceThread`` class.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2097257

Title:
  [eventlet-removal] Use ``ThreadPoolExecutor`` for
  ``periodics.PeriodicWorker``

Status in neutron:
  New

Bug description:
  The default ``executor_factory`` in
  ``futurist.periodics.PeriodicWorker`` is ``SynchronousExecutor``. This
  executor is not reliable to provide an on-time periodic execution for
  the requested method. When the eventlet removal finishes and all
  workers are using kernel threads, it will be recommended to switch to
  ``ThreadPoolExecutor`` by default.

  This class is used in the OVN ``MaintenanceThread`` class.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2097257/+subscriptions



Follow ups