1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-01-06 08:01:21 +03:00

Fix archive write lock being taken for the synchronous archive-get command.

Reported by Uspen.
This commit is contained in:
David Steele
2018-05-21 10:46:45 -04:00
parent e69d5fbf62
commit ada5c5c0d9
4 changed files with 15 additions and 4 deletions

View File

@@ -149,8 +149,8 @@ sub process
# Loop until the exit command is received
eval
{
# Aquire a lock if required (this will be determined by lockAcquire()). This is done here so any errors will be transmitted
# through the protocol layer and cause a graceful shutdown rather than a remote abort.
# Acquire a lock if required (this will be determined by lockAcquire()). This is done here so any errors will be
# transmitted through the protocol layer and cause a graceful shutdown rather than a remote abort.
if (defined($strLockPath) && defined($strLockStanza))
{
eval