OpenStack library for all concurrency-related code
Go to file
Gorka Eguileor 9800d58cb3 Log when waiting to acquire lock
We currently have no log entry when we start trying to acquire a lock.

In general this is ok, but there are cases where it can be problematic,
for example if we have a deadlock situation or if a lock takes a very
long time to be acquired.

In those scenarios looking at the logs we would see the operation
proceed normally and suddenly go completely silent without knowing that
it's waiting for a lock to be freed.

This patch adds a debug log message right before trying to acquire the
lock so we can detect those situations.

Change-Id: I1354dfb98b0927ae167802ecc4ab1d34f6b4d720
2022-07-07 20:01:48 +02:00
doc Remove unnecessary unicode prefixes 2022-04-19 19:39:35 +08:00
oslo_concurrency Log when waiting to acquire lock 2022-07-07 20:01:48 +02:00
releasenotes Log when waiting to acquire lock 2022-07-07 20:01:48 +02:00
.coveragerc Fix coverage configuration and execution 2015-10-05 17:01:16 -04:00
.gitignore ignore reno builds artifacts 2020-02-11 15:25:49 +01:00
.gitreview OpenDev Migration Patch 2019-04-19 19:28:07 +00:00
.mailmap exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
.pre-commit-config.yaml Move flake8 as a pre-commit local target. 2021-03-23 13:15:24 +01:00
.stestr.conf Switch to stestr 2018-07-04 08:18:31 +07:00
.zuul.yaml Update CI to use unversioned jobs template 2022-03-15 15:07:07 +00:00
CONTRIBUTING.rst Align contributing doc with oslo's policy 2020-05-04 18:20:24 +02:00
HACKING.rst Update URLs in documents according to document migration 2017-07-12 22:22:54 +08:00
LICENSE exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-05-05 13:01:11 +08:00
requirements.txt Remove six usage 2020-05-09 16:42:30 +02:00
setup.cfg Drop python3.6/3.7 support in testing runtime 2022-05-05 16:10:49 +02:00
setup.py remove outdated header 2020-02-10 18:34:51 +01:00
test-requirements.txt Adding pre-commit 2020-09-03 14:25:24 +02:00
tox.ini Merge "Use py3 as the default runtime for tox" 2021-04-16 17:21:33 +00:00

README.rst

Team and repository tags

image

oslo.concurrency

Latest Version

The oslo.concurrency library has utilities for safely running multi-thread, multi-process applications using locking mechanisms and for running external processes.