mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
All remote types now take locks.
The exceptions date to when the test harness and pgBackRest were running in the same VM and no longer apply.
This commit is contained in:
parent
095351f145
commit
d96b1a0dbc
@ -81,11 +81,8 @@ eval
|
||||
optionGet(OPTION_PROTOCOL_TIMEOUT)
|
||||
);
|
||||
|
||||
# ??? Would like to remove this check and allow a test lock
|
||||
if (optionGet(OPTION_COMMAND) ne 'test' && !optionTest(OPTION_PROCESS))
|
||||
{
|
||||
lockAcquire(optionGet(OPTION_COMMAND), undef, true, optionGet(OPTION_PROCESS, false));
|
||||
}
|
||||
# Acquire a remote lock
|
||||
lockAcquire(optionGet(OPTION_COMMAND), undef, true, optionGet(OPTION_PROCESS, false));
|
||||
|
||||
# Process remote requests
|
||||
exitSafe($oRemote->process());
|
||||
|
@ -118,6 +118,12 @@
|
||||
<p>Fixed an issue where db-path was not required for the <cmd>check</cmd> command so an assert was thrown when it was missing rather than a polite error message.</p>
|
||||
</release-item>
|
||||
</release-bug-list>
|
||||
|
||||
<release-refactor-list>
|
||||
<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-refactor-list>
|
||||
</release-core-list>
|
||||
|
||||
<release-doc-list>
|
||||
|
Loading…
x
Reference in New Issue
Block a user