diff --git a/doc/xml/release.xml b/doc/xml/release.xml index c95561336..f8184b135 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -131,6 +131,10 @@

Fixed an issue where the contents of pg_xlog were being copied if the directory was symlinked.

+ + +

Fixed an invalid log call in lock routines.

+
diff --git a/lib/pgBackRest/Common/Lock.pm b/lib/pgBackRest/Common/Lock.pm index c6aaf9f50..b6436ef55 100644 --- a/lib/pgBackRest/Common/Lock.pm +++ b/lib/pgBackRest/Common/Lock.pm @@ -97,7 +97,7 @@ sub lockAcquire # Cannot proceed if a lock is currently held if (defined($strCurrentLockType)) { - confess &lock(ASSERT, "${strCurrentLockType} lock is already held"); + confess &log(ASSERT, "${strCurrentLockType} lock is already held"); } # Check if processes are currently stopped