Files
watcher/releasenotes/notes/decision-engine-threading-mode-26fc8066dcd499a2.yaml
Douglas Viroel f879b10b05 Extend decision engine to support threading mode
With the events of eventlet removal, Watcher will need
to be adapted to support both modes, eventlet and threading, for
a couple of releases before removing all eventlet code.
This patch adds methods and classes that allow decision engine
modules to create futurist thread pools instead of green thread pools,
based on a environment variable that can be enabled by service.
It moves continuous audit handler instance to decison engine service,
so it can be started together with the main decision engine service.
Adds an environment variable that allows the user to disable
eventlet monkey patching and to use oslo.service threading backend.

Change-Id: I8a8be0a7cebdc44005fd77ec960543828c7da318
Signed-off-by: Douglas Viroel <viroel@gmail.com>
2025-08-05 16:45:48 -03:00

13 lines
632 B
YAML

---
features:
- |
The Decision Engine service now supports running with ``native threading``
mode enabled as opposed to the use of the Eventlet library.
Note that the use of ``native threading`` is still ``experimental``,
and is disabled by default. It should not be used in production. To
switch from Eventlet to native threading mode, the environment variable
``OS_WATCHER_DISABLE_EVENTLET_PATCHING=true`` needs to be added to
the decision engine service configuration. For more information,
please check `eventlet removal
<https://wiki.openstack.org/wiki/Eventlet-removal>`__ documentation.