You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-17 01:12:23 +02:00
Output lock file name when a lock cannot be acquired to aid in debugging.
This commit is contained in:
@ -123,6 +123,10 @@
|
|||||||
<release-item>
|
<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>
|
<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>
|
||||||
|
|
||||||
|
<release-item>
|
||||||
|
<p>Output lock file name when a lock cannot be acquired to aid in debugging.</p>
|
||||||
|
</release-item>
|
||||||
</release-refactor-list>
|
</release-refactor-list>
|
||||||
</release-core-list>
|
</release-core-list>
|
||||||
|
|
||||||
|
@ -119,7 +119,7 @@ sub lockAcquire
|
|||||||
|
|
||||||
if (!defined($bFailOnNoLock) || $bFailOnNoLock)
|
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
|
else
|
||||||
|
Reference in New Issue
Block a user