Skip to content

Releases: chipitsine/wal-g

v3.3.3

21 Jan 13:20
f81943e

Choose a tag to compare

Fix object deletion, testing, and building on windows (#2102)

* tests: ensure KVS files are ordered by insertion when time is otherwise equal

... tests run 94% faster, from 1s 63 ms to 63 ms

* fix: ensure tar file tests have file during assertions

windows SameFile and Mode need to do i/o to fulfill the call so the assertions are moved to avoid os.Remove mop up when testInterpret exits

* fix: ensure file is closed after copying for folder

* fix: ensure readerCloser is called so file may delete

* fix: detect ERROR_INVALID_PARAMETER as ErrUnexpectedEOF for windows with directio

* fix: folderPath should use "/" internally

* fix: ensure report reader really closes file

fixes windows.ERROR_SHARING_VIOLATION (32) throwing when trying to delete files read by multi-storage

* fix: close walFilePath handle after upload

* fix: use '/' path for internal storage

* fix: use '/' path for internal storage and tablespace linking

* fix: keep slash use consistent

* fix: path.match b/c all internal is '/'

* fix: use mutex to avoid data race

* fix: ensure ResolveSymlink uses / convention

* fix: ensure range respects callback ending early

* fix: safer home parsing

* fix: make unittest on windows

* build: attempt windows-latest make unittest

* build: link lib sodium

* build: link lib sodium

* build: link lib sodium

* fix: missing import

* fix: ensure tar interpreter uses '/' conventions

* fix: more filepath.ToSlash adjustments

* build: fix configure snafu, more slashes

* refactor: use GetDefaultDataFolderPath

* refactor: defer reader close

* chore: add comment re: why setting TMP

* build: rename cross to windows-native

* build: revert enabling LIB_SODIUM for now

* build: move USE_LIBSODIUM post build dependencies

this is using a prebuilt dist, mingw

* build: do not USE_LIBSODIUM

* build: set default Windows shell runner to pwsh

* refactor: use existing LoggedClose utility

---------

Co-authored-by: Andrey Borodin <amborodin@acm.org>