Tags: emuhedo/wal-g
Tags
Fix possible deadlock in background WAL uploader Stop() of background uploader was acquiring upload scan mutex. Under this mutex, it was disallowing new uploads and awaits finish of all spawned uploads. But scan process has to acquire that mutex too. In various race outcomes, upload could deadlock with Stop(). Now Stop() awaits for finished uploads with the released mutex. Mutex guards that upload is not started if Stop() in progress. With current mutex guards, we could relax all atomic operations with bgUploader.parallelWorkers, but this requires extra refactoring, now we should just fix the bug.
Reading GPG keys from files using environment variables (wal-g#173) * Reading GPG keys from files using environment variables * Little refactor * Update crypto_comp_test.go * Little refactor * Fixes after review * Update cleanup.sh * Remove debug string * Added README.md * Fix tests * Fix README.md
Fix pg_control check for WAL-E backups (wal-g#169) * Fix pg_control check for WAL-E backups Currently, WAL-E backup restoration was broken since preprelease 0.2.1+ We were checking for pg_control before understanding that it is not necessary. This commit fixes it.
PreviousNext