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
Team and repository tags
oslo.concurrency
The oslo.concurrency library has utilities for safely running multi-thread, multi-process applications using locking mechanisms and for running external processes.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.concurrency/latest/
- Source: https://opendev.org/openstack/oslo.concurrency
- Bugs: https://bugs.launchpad.net/oslo.concurrency
- Release Notes: https://docs.openstack.org/releasenotes/oslo.concurrency/
Description
Languages
Python
100%