43f2224aac
In impl_kafka, _produce_message is run in a tpool.execute context but it was also calling logging functions. This could cause subsequent calls to logging functions to deadlock. This patch moves the logging calls out of the tpool.execute scope. Change-Id: I81167eea0a6b1a43a88baa3bc383af684f4b1345 Closes-bug: #1981093
9 lines
361 B
YAML
9 lines
361 B
YAML
---
|
|
fixes:
|
|
- |
|
|
[`bug 1981093 <https://bugs.launchpad.net/oslo.messaging/+bug/1981093>`_]
|
|
Pulls calls to logging functions out of ``impl_kafka._produce_message``.
|
|
Since ``_produce_message`` is called through tpool.execute, calling logging
|
|
functions inside ``_produce_message`` could cause subsequent calls to
|
|
logging functions to deadlock.
|