Previously, Litestream would avoid closing the SQLite3 connection in order to ensure that the WAL file was not cleaned up by the database if it was the last connection. This commit changes the behavior by introducing a file control call to perform the same action. This allows us to close the database file normally in all cases.
21 lines
634 B
Modula-2
21 lines
634 B
Modula-2
module github.com/benbjohnson/litestream
|
|
|
|
go 1.16
|
|
|
|
require (
|
|
cloud.google.com/go/iam v0.1.1 // indirect
|
|
cloud.google.com/go/storage v1.18.2
|
|
github.com/Azure/azure-storage-blob-go v0.14.0
|
|
github.com/aws/aws-sdk-go v1.42.40
|
|
github.com/mattn/go-shellwords v1.0.12
|
|
github.com/mattn/go-sqlite3 v1.14.11
|
|
github.com/pierrec/lz4/v4 v4.1.12
|
|
github.com/pkg/sftp v1.13.4
|
|
github.com/prometheus/client_golang v1.12.0
|
|
golang.org/x/crypto v0.0.0-20220112180741-5e0467b6c7ce
|
|
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
|
|
golang.org/x/sys v0.0.0-20220114195835-da31bd327af9
|
|
google.golang.org/api v0.65.0
|
|
gopkg.in/yaml.v2 v2.4.0
|
|
)
|