Ben Johnson
54f3b94d3f
Upgrade dependencies
...
- github.com/aws/aws-sdk-go v1.42.44 => v1.42.48
- cloud.google.com/go/storage v1.19.0 => v1.20.0
- github.com/pierrec/lz4/v4 v4.1.12 => v4.1.14
- google.golang.org/api v0.66.0 => v0.67.0
2022-02-07 14:21:52 -07:00
Ben Johnson
762c7ae531
Implement FileWatcher
2022-02-06 09:51:04 -07:00
Ben Johnson
8009bcf654
Remove Windows support
...
Unfortunately, I don't have the expertise or bandwidth to maintain
the Windows support in Litestream. I'm open to re-adding support in
the future but right now it is hindering development and is not
well-tested or well-used.
2022-02-05 08:19:31 -07:00
dependabot[bot]
89560c8632
Bump github.com/prometheus/client_golang from 1.12.0 to 1.12.1
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-31 14:27:38 -07:00
dependabot[bot]
5f38134032
Bump cloud.google.com/go/storage from 1.18.2 to 1.19.0
...
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go ) from 1.18.2 to 1.19.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/storage/v1.18.2...spanner/v1.19.0 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-31 13:55:52 -07:00
dependabot[bot]
d5c15593bb
Bump google.golang.org/api from 0.65.0 to 0.66.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.65.0 to 0.66.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.65.0...v0.66.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-31 13:50:18 -07:00
dependabot[bot]
fb3a3d904f
Bump github.com/aws/aws-sdk-go from 1.42.40 to 1.42.44
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.40 to 1.42.44.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.42.40...v1.42.44 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-31 13:15:13 -07:00
Ben Johnson
dbdde21341
Use sqlite3_file_control(SQLITE_FCNTL_PERSIST_WAL) to persist WAL
...
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.
2022-01-28 15:12:43 -07:00
dependabot[bot]
8d759bb0b8
Bump github.com/aws/aws-sdk-go from 1.42.39 to 1.42.40
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.42.39 to 1.42.40.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.42.39...v1.42.40 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-24 13:10:29 -07:00
Ben Johnson
5d24f91ea7
Upgrade github.com/prometheus/client_golang@v1.12.0
2022-01-23 09:30:03 -07:00
Ben Johnson
55c475e3fe
Upgrade github.com/pkg/sftp@v1.13.4
2022-01-23 09:24:32 -07:00
Ben Johnson
500cfd8bf4
Upgrade shellwords, golang.org/x
2022-01-23 09:19:10 -07:00
Ben Johnson
90715ef8f3
Upgrade azure-storage-blob-go to v0.14.0
2022-01-23 09:08:21 -07:00
Matt Joiner
79b50c6944
Update sqlite 3.36
2022-01-23 08:39:22 -07:00
dependabot[bot]
d045b7bef0
Bump google.golang.org/api from 0.45.0 to 0.65.0
...
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.45.0 to 0.65.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.45.0...v0.65.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-22 11:34:08 -07:00
dependabot[bot]
6c5fb2c446
Bump cloud.google.com/go/storage from 1.15.0 to 1.18.2
...
Bumps [cloud.google.com/go/storage](https://github.com/googleapis/google-cloud-go ) from 1.15.0 to 1.18.2.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases )
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-cloud-go/compare/pubsub/v1.15.0...storage/v1.18.2 )
---
updated-dependencies:
- dependency-name: cloud.google.com/go/storage
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-22 11:28:33 -07:00
dependabot[bot]
0b533e5d7b
Bump github.com/aws/aws-sdk-go from 1.27.0 to 1.42.39
...
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go ) from 1.27.0 to 1.42.39.
- [Release notes](https://github.com/aws/aws-sdk-go/releases )
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.27.0...v1.42.39 )
---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-22 11:24:24 -07:00
dependabot[bot]
17831c7025
Bump github.com/pierrec/lz4/v4 from 4.1.3 to 4.1.12
...
Bumps [github.com/pierrec/lz4/v4](https://github.com/pierrec/lz4 ) from 4.1.3 to 4.1.12.
- [Release notes](https://github.com/pierrec/lz4/releases )
- [Commits](https://github.com/pierrec/lz4/compare/v4.1.3...v4.1.12 )
---
updated-dependencies:
- dependency-name: github.com/pierrec/lz4/v4
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-22 11:19:48 -07:00
Ben Johnson
8fb9c910f0
Add simple subprocess execution
...
This commit adds the ability to run a subcommand through Litestream.
Shutting down the subcommand will cause Litestream to gracefully
shutdown. Litestream will forward interrupt signals and wait for
the subprocess to shutdown.
2021-06-03 15:30:54 -06:00
Ben Johnson
d1ac03bd8c
Add SFTP replica type
2021-05-24 14:29:57 -06:00
Ben Johnson
84dc68c09c
Add Azure Blob Storage replica type
2021-05-23 07:58:45 -06:00
Ben Johnson
ac32e8e089
Add Google Cloud Storage replica
2021-05-22 07:16:14 -06:00
Ben Johnson
fb80bc10ae
Refactor replica system
2021-05-21 07:44:36 -06:00
Ben Johnson
03831e2d06
Download WAL files in parallel during restore
...
This commit changes the restore to download multiple WAL files to
the local disk in parallel while another goroutine applies those
files in order. Downloading & applying the WAL files in serial
reduces the total throughput as WAL files are typically made up of
multiple small files.
2021-04-21 16:07:29 -06:00
Ben Johnson
c5390dec1d
Add Windows Service & MSI builds
2021-02-19 16:21:04 -07:00
Ben Johnson
14dad1fd5a
Switch from gzip to lz4
2021-01-18 14:45:12 -07:00
Ben Johnson
1ac4adb272
Basic s3 replication working
2021-01-13 14:23:41 -07:00
Ben Johnson
57a02a8628
S3 replica
2021-01-13 10:14:54 -07:00
Ben Johnson
9d0e79c2cf
Add db metrics
2020-12-31 16:30:56 -07:00
Ben Johnson
4ac0829bf7
go mod tidy
2020-12-31 10:38:25 -07:00
Ben Johnson
a4e66eb8d8
Change config format to yaml; add replicators
2020-12-18 13:21:29 -07:00
Ben Johnson
85e97cd6ac
db refactor
2020-12-17 16:32:10 -07:00
Ben Johnson
b00095ccf5
Remove fuse
2020-12-17 15:15:01 -07:00
Ben Johnson
d68db48acc
Remove POSIX lock handling
2020-11-05 13:41:32 -07:00
Ben Johnson
dc3da53c76
Add WALHeader & WALFrameHeader
2020-10-22 14:53:14 -06:00
Ben Johnson
0cf8c29e16
beginning fuse filesystem impl
2020-10-08 15:01:24 -06:00