mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
Output lock file name when a lock cannot be acquired to aid in debugging.
This commit is contained in:
parent
d96b1a0dbc
commit
98a67792ec
@ -123,6 +123,10 @@
|
||||
<release-item>
|
||||
<p>All remote types now take locks. The exceptions date to when the test harness and <backrest/> were running in the same VM and no longer apply.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Output lock file name when a lock cannot be acquired to aid in debugging.</p>
|
||||
</release-item>
|
||||
</release-refactor-list>
|
||||
</release-core-list>
|
||||
|
||||
|
@ -119,7 +119,7 @@ sub lockAcquire
|
||||
|
||||
if (!defined($bFailOnNoLock) || $bFailOnNoLock)
|
||||
{
|
||||
confess &log(ERROR, "unable to acquire ${strLockType} lock", ERROR_LOCK_ACQUIRE);
|
||||
confess &log(ERROR, "unable to acquire ${strLockType} lock on file ${strCurrentLockFile}", ERROR_LOCK_ACQUIRE);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user