mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
274bb24a5a
The integration tests could fail if: 1. After restoring the PostgreSQL instance the recovery process starts, which calls asynchronous archive-get. 2. After archive-get checks the existence of the queue directory, but before writing the WAL file, there are restores when the next test is begun, which leads to the deletion of the queue directory. 3. Since the directory no longer exists, writing the WAL file will fail, and archive-get will write the error file to the queue. 4. A new PostgreSQL instance will start and the recovery process will begin, which requests the WAL file. 5. The new archive-get looks into the queue directory, finds the error file, and throws out the error, after which the PostgreSQL recovery fails because the previous archive-get background process has not finished yet. This patch fixes the problem by using a separate spool directory for each test. |
||
---|---|---|
.. | ||
auto | ||
dtd | ||
release | ||
coding.xml | ||
contributing.xml | ||
documentation.xml | ||
faq.xml | ||
index.xml | ||
metric.xml | ||
release.xml | ||
user-guide-index.xml | ||
user-guide.xml |