Commit Graph

112 Commits

Author SHA1 Message Date
Ben Johnson 04d75507e3 Fix checksum hex padding 2021-01-17 09:52:09 -07:00
Ben Johnson 4b65e6a88f Log validation position 2021-01-17 07:38:13 -07:00
Ben Johnson 07a65cbac7 Fix crc64 unit test 2021-01-16 10:04:03 -07:00
Ben Johnson 6ac6a8536d Obtain write lock during validation. 2021-01-16 09:27:43 -07:00
Ben Johnson 71ab15e50a Fix S3 GET stats 2021-01-16 09:22:33 -07:00
Ben Johnson b4e5079760 Add .deb packaging 2021-01-16 09:22:02 -07:00
Ben Johnson 78563f821d Do not require databases when starting replication 2021-01-16 09:15:16 -07:00
Ben Johnson e65536f81d Stop waiting for replica if generation changes 2021-01-16 07:47:02 -07:00
Ben Johnson 25fec29e1a Clear last position on replica sync error 2021-01-16 07:45:08 -07:00
Ben Johnson cbc2dce6dc Add busy timeout 2021-01-16 07:33:32 -07:00
Ben Johnson 1b8cfc8a41 Add validation interval 2021-01-15 16:37:04 -07:00
Ben Johnson 290e06e60d Reduce s3 LIST operations 2021-01-15 13:31:04 -07:00
Ben Johnson b94ee366e5 Fix snapshot only restore 2021-01-15 13:12:15 -07:00
Ben Johnson 743aeb83e1 Revert gzip compression level, fix s3 wal upload 2021-01-15 13:04:21 -07:00
Ben Johnson a7ec05ad7a Allow global AWS settings in config. 2021-01-15 12:27:41 -07:00
Ben Johnson 28dd7b564e Lookup s3 bucket region if not specified 2021-01-15 12:18:07 -07:00
Ben Johnson 43dda4315f Allow URLs for replica config path 2021-01-15 12:04:23 -07:00
Ben Johnson 0655bf420a Fix unit tests 2021-01-14 16:13:19 -07:00
Ben Johnson 8c113cf260 Add file & s3 replica metrics 2021-01-14 16:10:02 -07:00
Ben Johnson daa74f87b4 Add file replica metrics 2021-01-14 15:47:58 -07:00
Ben Johnson e1c9e09161 Update wal segment naming 2021-01-14 15:26:29 -07:00
Ben Johnson 1e4e9633cc Add s3 sync interval 2021-01-14 15:04:26 -07:00
Ben Johnson 294846cce2 Add context to s3 2021-01-13 16:38:00 -07:00
Ben Johnson 9eb7bd41c2 S3 reader & retention enforcement 2021-01-13 16:21:42 -07:00
Ben Johnson 1ac4adb272 Basic s3 replication working 2021-01-13 14:23:41 -07:00
Ben Johnson a42f83f3cb Add LITESTREAM_CONFIG env var 2021-01-13 13:17:38 -07:00
Ben Johnson 57a02a8628 S3 replica 2021-01-13 10:14:54 -07:00
Ben Johnson faa5765745 Add retention policy, remove WAL subdir 2021-01-12 15:22:37 -07:00
Ben Johnson 1fa1313b0b Add trace logging. 2021-01-11 11:04:29 -07:00
Ben Johnson bcdb553267 Use database owner/group 2021-01-11 09:39:08 -07:00
Ben Johnson 9828b4c1dd Rename 'databases' to 'dbs' in config 2021-01-10 10:07:07 -07:00
Ben Johnson dde9d1042d Update generation lag calc 2021-01-10 09:54:05 -07:00
Ben Johnson 8f30ff7d93 Fix negative duration truncation. 2021-01-10 09:52:04 -07:00
Ben Johnson aa136a17ee Fix duration truncation. 2021-01-10 09:46:39 -07:00
Ben Johnson 60cb2c97ca Set default max checkpoint. 2021-01-10 09:46:27 -07:00
Ben Johnson 0abe09526d Fix local build 2021-01-09 08:59:08 -07:00
Ben Johnson b0a3440356 make dist 2021-01-08 16:05:07 -07:00
Ben Johnson a8d63b54aa README 2021-01-08 10:07:26 -07:00
Ben Johnson b22f3f100d Add FileReplica.Sync() unit tests. 2021-01-05 15:48:50 -07:00
Ben Johnson 3075b2e92b Fix WAL mod time test 2021-01-05 15:15:28 -07:00
Ben Johnson 7c3272c96f Revert "Test 1.16beta1"
This reverts commit 4294fcf4b4.
2021-01-05 15:11:29 -07:00
Ben Johnson 4294fcf4b4 Test 1.16beta1 2021-01-05 15:10:09 -07:00
Ben Johnson ae0f51eaa9 Fix setup-go 2021-01-05 14:34:14 -07:00
Ben Johnson 8871d75a8e Fix max checkpoint size check 2021-01-05 14:17:13 -07:00
Ben Johnson c22eea13ad Add checkpoint tests 2021-01-05 14:07:17 -07:00
Ben Johnson f4d055916a Add DB sync tests 2021-01-05 13:59:16 -07:00
Ben Johnson 979cabcdb9 Add some DB.Sync() tests 2021-01-01 10:02:03 -07:00
Ben Johnson 5134bc3328 Add test coverage for DB.CRC64 2021-01-01 09:26:23 -07:00
Ben Johnson 78d9de6512 Add DB path tests 2021-01-01 09:00:23 -07:00
Ben Johnson 065f641526 Change validation to use CRC-64 2021-01-01 08:24:11 -07:00