Skip to content

Local LTX Level 0 files are never compacted/removed #784

@jrolli

Description

@jrolli

Bug Description

The local LTX files (under `*-litestream) never appear to be compacted or removed leading to unbounded disk usage.

Environment

Litestream version:

0.5.0

Operating system & version:

Fedora 42
AlmaLinux 10

Installation method:

RPM from Github (using RHEL9 version for both F42 and A10)

Storage backend:

S3 (Garage as actual backend)

Steps to Reproduce

Run replicate past retention period.

Expected behavior:

Expect compaction to occur on host running Litestream resulting in the on-disk cache being approximately the same as the downstream replica.

Actual behavior:

The Level 0 files are never compacted or removed which results in unbounded disk usage.

Local filesystemroot@localhost:~/.db.sqlite3-litestream$ ls -l ltx/ total 20 drwxr-xr-x. 2 root root 20480 Oct 7 22:34 0 root@localhost:~/.db.sqlite3-litestream$ ls -l ltx/0/ total 2740 -rw-r--r--. 1 root root 494965 Sep 17 00:40 0000000000000001-0000000000000001.ltx -rw-r--r--. 1 root root 16231 Sep 17 00:46 0000000000000002-0000000000000002.ltx -rw-r--r--. 1 root root 10952 Sep 17 00:46 0000000000000003-0000000000000003.ltx -rw-r--r--. 1 root root 5289 Sep 17 01:20 0000000000000004-0000000000000004.ltx -rw-r--r--. 1 root root 11627 Sep 17 01:24 0000000000000005-0000000000000005.ltx -rw-r--r--. 1 root root 12247 Sep 17 01:25 0000000000000006-0000000000000006.ltx -rw-r--r--. 1 root root 12832 Sep 17 01:26 0000000000000007-0000000000000007.ltx -rw-r--r--. 1 root root 15623 Sep 17 01:26 0000000000000008-0000000000000008.ltx -rw-r--r--. 1 root root 11105 Sep 17 01:26 0000000000000009-0000000000000009.ltx -rw-r--r--. 1 root root 11927 Sep 17 01:27 000000000000000a-000000000000000a.ltx -rw-r--r--. 1 root root 26427 Sep 17 01:27 000000000000000b-000000000000000b.ltx -rw-r--r--. 1 root root 23706 Sep 17 01:27 000000000000000c-000000000000000c.ltx -rw-r--r--. 1 root root 18841 Sep 17 01:27 000000000000000d-000000000000000d.ltx -rw-r--r--. 1 root root 9503 Sep 17 01:28 000000000000000e-000000000000000e.ltx -rw-r--r--. 1 root root 11444 Sep 17 01:31 000000000000000f-000000000000000f.ltx -rw-r--r--. 1 root root 23437 Sep 17 01:32 0000000000000010-0000000000000010.ltx -rw-r--r--. 1 root root 13003 Sep 17 01:32 0000000000000011-0000000000000011.ltx -rw-r--r--. 1 root root 19149 Sep 17 01:32 0000000000000012-0000000000000012.ltx -rw-r--r--. 1 root root 10953 Sep 17 01:33 0000000000000013-0000000000000013.ltx -rw-r--r--. 1 root root 12438 Sep 17 01:33 0000000000000014-0000000000000014.ltx -rw-r--r--. 1 root root 24039 Sep 17 01:33 0000000000000015-0000000000000015.ltx -rw-r--r--. 1 root root 18822 Sep 17 01:33 0000000000000016-0000000000000016.ltx -rw-r--r--. 1 root root 11468 Sep 17 01:33 0000000000000017-0000000000000017.ltx -rw-r--r--. 1 root root 8247 Sep 17 01:36 0000000000000018-0000000000000018.ltx -rw-r--r--. 1 root root 8255 Sep 17 01:36 0000000000000019-0000000000000019.ltx -rw-r--r--. 1 root root 5291 Sep 17 01:38 000000000000001a-000000000000001a.ltx -rw-r--r--. 1 root root 5292 Sep 17 05:38 000000000000001b-000000000000001b.ltx -rw-r--r--. 1 root root 5294 Sep 17 07:39 000000000000001c-000000000000001c.ltx -rw-r--r--. 1 root root 5300 Sep 17 12:30 000000000000001d-000000000000001d.ltx -rw-r--r--. 1 root root 5292 Sep 17 13:40 000000000000001e-000000000000001e.ltx -rw-r--r--. 1 root root 5292 Sep 17 19:27 000000000000001f-000000000000001f.ltx -rw-r--r--. 1 root root 5290 Sep 17 19:45 0000000000000020-0000000000000020.ltx -rw-r--r--. 1 root root 5300 Sep 18 00:06 0000000000000021-0000000000000021.ltx -rw-r--r--. 1 root root 5292 Sep 18 01:59 0000000000000022-0000000000000022.ltx -rw-r--r--. 1 root root 5292 Sep 18 08:01 0000000000000023-0000000000000023.ltx -rw-r--r--. 1 root root 5291 Sep 18 09:53 0000000000000024-0000000000000024.ltx -rw-r--r--. 1 root root 5299 Sep 18 14:10 0000000000000025-0000000000000025.ltx -rw-r--r--. 1 root root 5291 Sep 18 16:23 0000000000000026-0000000000000026.ltx -rw-r--r--. 1 root root 5283 Sep 18 16:49 0000000000000027-0000000000000027.ltx -rw-r--r--. 1 root root 5292 Sep 18 20:15 0000000000000028-0000000000000028.ltx -rw-r--r--. 1 root root 5279 Sep 18 22:02 0000000000000029-0000000000000029.ltx -rw-r--r--. 1 root root 5285 Sep 19 00:59 000000000000002a-000000000000002a.ltx -rw-r--r--. 1 root root 11472 Sep 19 01:01 000000000000002b-000000000000002b.ltx -rw-r--r--. 1 root root 5299 Sep 19 05:52 000000000000002c-000000000000002c.ltx -rw-r--r--. 1 root root 5284 Sep 19 08:39 000000000000002d-000000000000002d.ltx -rw-r--r--. 1 root root 5284 Sep 19 09:49 000000000000002e-000000000000002e.ltx -rw-r--r--. 1 root root 5293 Sep 19 11:48 000000000000002f-000000000000002f.ltx -rw-r--r--. 1 root root 5280 Sep 19 11:48 0000000000000030-0000000000000030.ltx -rw-r--r--. 1 root root 13490 Sep 19 11:51 0000000000000031-0000000000000031.ltx -rw-r--r--. 1 root root 5285 Sep 19 11:57 0000000000000032-0000000000000032.ltx -rw-r--r--. 1 root root 5286 Sep 19 12:07 0000000000000033-0000000000000033.ltx -rw-r--r--. 1 root root 5287 Sep 19 18:17 0000000000000034-0000000000000034.ltx -rw-r--r--. 1 root root 5287 Sep 19 19:23 0000000000000035-0000000000000035.ltx -rw-r--r--. 1 root root 5294 Sep 20 00:19 0000000000000036-0000000000000036.ltx -rw-r--r--. 1 root root 5279 Sep 20 00:19 0000000000000037-0000000000000037.ltx -rw-r--r--. 1 root root 5284 Sep 20 06:35 0000000000000038-0000000000000038.ltx -rw-r--r--. 1 root root 5284 Sep 20 07:32 0000000000000039-0000000000000039.ltx -rw-r--r--. 1 root root 5290 Sep 20 12:42 000000000000003a-000000000000003a.ltx -rw-r--r--. 1 root root 5282 Sep 20 13:36 000000000000003b-000000000000003b.ltx -rw-r--r--. 1 root root 5285 Sep 20 18:44 000000000000003c-000000000000003c.ltx -rw-r--r--. 1 root root 5283 Sep 20 19:02 000000000000003d-000000000000003d.ltx -rw-r--r--. 1 root root 20572 Sep 20 19:04 000000000000003e-000000000000003e.ltx -rw-r--r--. 1 root root 20824 Sep 20 19:06 000000000000003f-000000000000003f.ltx -rw-r--r--. 1 root root 5283 Sep 20 19:07 0000000000000040-0000000000000040.ltx -rw-r--r--. 1 root root 26769 Sep 20 19:43 0000000000000041-0000000000000041.ltx -rw-r--r--. 1 root root 5279 Sep 20 19:58 0000000000000042-0000000000000042.ltx -rw-r--r--. 1 root root 15688 Sep 20 20:03 0000000000000043-0000000000000043.ltx -rw-r--r--. 1 root root 5289 Sep 20 20:04 0000000000000044-0000000000000044.ltx -rw-r--r--. 1 root root 12521 Sep 20 20:04 0000000000000045-0000000000000045.ltx -rw-r--r--. 1 root root 5288 Sep 20 20:05 0000000000000046-0000000000000046.ltx -rw-r--r--. 1 root root 5284 Sep 20 20:06 0000000000000047-0000000000000047.ltx -rw-r--r--. 1 root root 12524 Sep 20 20:07 0000000000000048-0000000000000048.ltx -rw-r--r--. 1 root root 12524 Sep 20 20:08 0000000000000049-0000000000000049.ltx -rw-r--r--. 1 root root 5279 Sep 20 20:20 000000000000004a-000000000000004a.ltx -rw-r--r--. 1 root root 19130 Sep 20 21:34 000000000000004b-000000000000004b.ltx -rw-r--r--. 1 root root 5295 Sep 21 02:24 000000000000004c-000000000000004c.ltx -rw-r--r--. 1 root root 5284 Sep 21 02:27 000000000000004d-000000000000004d.ltx -rw-r--r--. 1 root root 5284 Sep 21 02:27 000000000000004e-000000000000004e.ltx -rw-r--r--. 1 root root 5287 Sep 21 08:30 000000000000004f-000000000000004f.ltx -rw-r--r--. 1 root root 5293 Sep 21 10:20 0000000000000050-0000000000000050.ltx -rw-r--r--. 1 root root 5291 Sep 21 12:53 0000000000000051-0000000000000051.ltx -rw-r--r--. 1 root root 5284 Sep 21 14:37 0000000000000052-0000000000000052.ltx -rw-r--r--. 1 root root 5286 Sep 21 16:21 0000000000000053-0000000000000053.ltx -rw-r--r--. 1 root root 5293 Sep 21 20:39 0000000000000054-0000000000000054.ltx -rw-r--r--. 1 root root 5282 Sep 21 22:22 0000000000000055-0000000000000055.ltx -rw-r--r--. 1 root root 5291 Sep 22 02:52 0000000000000056-0000000000000056.ltx -rw-r--r--. 1 root root 5290 Sep 22 04:25 0000000000000057-0000000000000057.ltx -rw-r--r--. 1 root root 5289 Sep 22 08:59 0000000000000058-0000000000000058.ltx -rw-r--r--. 1 root root 5294 Sep 22 12:08 0000000000000059-0000000000000059.ltx -rw-r--r--. 1 root root 5288 Sep 22 15:12 000000000000005a-000000000000005a.ltx -rw-r--r--. 1 root root 5288 Sep 22 19:17 000000000000005b-000000000000005b.ltx -rw-r--r--. 1 root root 5296 Sep 22 21:15 000000000000005c-000000000000005c.ltx -rw-r--r--. 1 root root 5296 Sep 23 00:46 000000000000005d-000000000000005d.ltx -rw-r--r--. 1 root root 5288 Sep 23 03:30 000000000000005e-000000000000005e.ltx -rw-r--r--. 1 root root 5288 Sep 23 08:29 000000000000005f-000000000000005f.ltx -rw-r--r--. 1 root root 5288 Sep 23 09:30 0000000000000060-0000000000000060.ltx -rw-r--r--. 1 root root 5296 Sep 23 10:24 0000000000000061-0000000000000061.ltx -rw-r--r--. 1 root root 5294 Sep 23 11:58 0000000000000062-0000000000000062.ltx -rw-r--r--. 1 root root 5293 Sep 23 15:17 0000000000000063-0000000000000063.ltx -rw-r--r--. 1 root root 5281 Sep 23 15:34 0000000000000064-0000000000000064.ltx -rw-r--r--. 1 root root 5291 Sep 23 21:27 0000000000000065-0000000000000065.ltx -rw-r--r--. 1 root root 5282 Sep 23 21:49 0000000000000066-0000000000000066.ltx -rw-r--r--. 1 root root 5297 Sep 24 04:03 0000000000000067-0000000000000067.ltx -rw-r--r--. 1 root root 5288 Sep 24 04:20 0000000000000068-0000000000000068.ltx -rw-r--r--. 1 root root 5300 Sep 24 10:15 0000000000000069-0000000000000069.ltx -rw-r--r--. 1 root root 5292 Sep 24 12:35 000000000000006a-000000000000006a.ltx -rw-r--r--. 1 root root 5278 Sep 24 16:22 000000000000006b-000000000000006b.ltx -rw-r--r--. 1 root root 5294 Sep 24 20:26 000000000000006c-000000000000006c.ltx -rw-r--r--. 1 root root 5291 Sep 24 22:35 000000000000006d-000000000000006d.ltx -rw-r--r--. 1 root root 5299 Sep 25 00:00 000000000000006e-000000000000006e.ltx -rw-r--r--. 1 root root 5298 Sep 25 00:06 000000000000006f-000000000000006f.ltx -rw-r--r--. 1 root root 5288 Sep 25 00:13 0000000000000070-0000000000000070.ltx -rw-r--r--. 1 root root 5294 Sep 25 04:04 0000000000000071-0000000000000071.ltx -rw-r--r--. 1 root root 5296 Sep 25 06:25 0000000000000072-0000000000000072.ltx -rw-r--r--. 1 root root 5298 Sep 25 11:09 0000000000000073-0000000000000073.ltx -rw-r--r--. 1 root root 5290 Sep 25 12:29 0000000000000074-0000000000000074.ltx -rw-r--r--. 1 root root 5291 Sep 25 18:14 0000000000000075-0000000000000075.ltx -rw-r--r--. 1 root root 5289 Sep 25 18:39 0000000000000076-0000000000000076.ltx -rw-r--r--. 1 root root 5299 Sep 26 00:17 0000000000000077-0000000000000077.ltx -rw-r--r--. 1 root root 5289 Sep 26 00:42 0000000000000078-0000000000000078.ltx -rw-r--r--. 1 root root 5291 Sep 26 06:44 0000000000000079-0000000000000079.ltx -rw-r--r--. 1 root root 5287 Sep 26 06:45 000000000000007a-000000000000007a.ltx -rw-r--r--. 1 root root 5299 Sep 26 12:48 000000000000007b-000000000000007b.ltx -rw-r--r--. 1 root root 5292 Sep 26 13:04 000000000000007c-000000000000007c.ltx -rw-r--r--. 1 root root 5290 Sep 26 18:53 000000000000007d-000000000000007d.ltx -rw-r--r--. 1 root root 5298 Sep 26 20:17 000000000000007e-000000000000007e.ltx -rw-r--r--. 1 root root 5298 Sep 27 00:54 000000000000007f-000000000000007f.ltx -rw-r--r--. 1 root root 5290 Sep 27 03:52 0000000000000080-0000000000000080.ltx -rw-r--r--. 1 root root 5289 Sep 27 07:05 0000000000000081-0000000000000081.ltx -rw-r--r--. 1 root root 5299 Sep 27 11:33 0000000000000082-0000000000000082.ltx -rw-r--r--. 1 root root 5294 Sep 27 13:09 0000000000000083-0000000000000083.ltx -rw-r--r--. 1 root root 5294 Sep 27 17:44 0000000000000084-0000000000000084.ltx -rw-r--r--. 1 root root 5289 Sep 27 19:27 0000000000000085-0000000000000085.ltx -rw-r--r--. 1 root root 5297 Sep 28 01:05 0000000000000086-0000000000000086.ltx -rw-r--r--. 1 root root 5289 Sep 28 01:30 0000000000000087-0000000000000087.ltx -rw-r--r--. 1 root root 5292 Sep 28 07:31 0000000000000088-0000000000000088.ltx -rw-r--r--. 1 root root 5291 Sep 28 09:50 0000000000000089-0000000000000089.ltx -rw-r--r--. 1 root root 5281 Sep 28 12:12 000000000000008a-000000000000008a.ltx -rw-r--r--. 1 root root 5289 Sep 28 13:13 000000000000008b-000000000000008b.ltx -rw-r--r--. 1 root root 5273 Sep 28 13:32 000000000000008c-000000000000008c.ltx -rw-r--r--. 1 root root 5277 Sep 28 19:06 000000000000008d-000000000000008d.ltx -rw-r--r--. 1 root root 5275 Sep 28 19:33 000000000000008e-000000000000008e.ltx -rw-r--r--. 1 root root 5286 Sep 29 01:21 000000000000008f-000000000000008f.ltx -rw-r--r--. 1 root root 5285 Sep 29 07:52 0000000000000090-0000000000000090.ltx -rw-r--r--. 1 root root 5285 Sep 29 09:22 0000000000000091-0000000000000091.ltx -rw-r--r--. 1 root root 5293 Sep 29 15:38 0000000000000092-0000000000000092.ltx -rw-r--r--. 1 root root 5292 Sep 29 20:06 0000000000000093-0000000000000093.ltx -rw-r--r--. 1 root root 5284 Sep 29 23:27 0000000000000094-0000000000000094.ltx -rw-r--r--. 1 root root 5288 Sep 30 02:07 0000000000000095-0000000000000095.ltx -rw-r--r--. 1 root root 5280 Sep 30 05:54 0000000000000096-0000000000000096.ltx -rw-r--r--. 1 root root 5294 Sep 30 10:49 0000000000000097-0000000000000097.ltx -rw-r--r--. 1 root root 5286 Sep 30 14:19 0000000000000098-0000000000000098.ltx -rw-r--r--. 1 root root 5279 Sep 30 19:10 0000000000000099-0000000000000099.ltx -rw-r--r--. 1 root root 5293 Oct 1 01:31 000000000000009a-000000000000009a.ltx -rw-r--r--. 1 root root 5293 Oct 1 08:36 000000000000009b-000000000000009b.ltx -rw-r--r--. 1 root root 5292 Oct 1 08:52 000000000000009c-000000000000009c.ltx -rw-r--r--. 1 root root 5294 Oct 1 15:01 000000000000009d-000000000000009d.ltx -rw-r--r--. 1 root root 5282 Oct 1 15:26 000000000000009e-000000000000009e.ltx -rw-r--r--. 1 root root 5286 Oct 1 21:12 000000000000009f-000000000000009f.ltx -rw-r--r--. 1 root root 5285 Oct 1 21:48 00000000000000a0-00000000000000a0.ltx -rw-r--r--. 1 root root 5297 Oct 2 03:17 00000000000000a1-00000000000000a1.ltx -rw-r--r--. 1 root root 5292 Oct 2 07:00 00000000000000a2-00000000000000a2.ltx -rw-r--r--. 1 root root 5293 Oct 2 09:23 00000000000000a3-00000000000000a3.ltx -rw-r--r--. 1 root root 5295 Oct 2 11:36 00000000000000a4-00000000000000a4.ltx -rw-r--r--. 1 root root 5295 Oct 2 13:51 00000000000000a5-00000000000000a5.ltx -rw-r--r--. 1 root root 5294 Oct 2 20:25 00000000000000a6-00000000000000a6.ltx -rw-r--r--. 1 root root 5293 Oct 2 21:37 00000000000000a7-00000000000000a7.ltx -rw-r--r--. 1 root root 5295 Oct 3 03:47 00000000000000a8-00000000000000a8.ltx -rw-r--r--. 1 root root 5292 Oct 3 09:31 00000000000000a9-00000000000000a9.ltx -rw-r--r--. 1 root root 5291 Oct 3 09:47 00000000000000aa-00000000000000aa.ltx -rw-r--r--. 1 root root 5292 Oct 3 13:25 00000000000000ab-00000000000000ab.ltx -rw-r--r--. 1 root root 14898 Oct 3 13:27 00000000000000ac-00000000000000ac.ltx -rw-r--r--. 1 root root 20841 Oct 3 13:32 00000000000000ad-00000000000000ad.ltx -rw-r--r--. 1 root root 20841 Oct 3 13:32 00000000000000ae-00000000000000ae.ltx -rw-r--r--. 1 root root 20841 Oct 3 13:32 00000000000000af-00000000000000af.ltx -rw-r--r--. 1 root root 20846 Oct 3 13:35 00000000000000b0-00000000000000b0.ltx -rw-r--r--. 1 root root 5292 Oct 3 15:49 00000000000000b1-00000000000000b1.ltx -rw-r--r--. 1 root root 5293 Oct 3 16:06 00000000000000b2-00000000000000b2.ltx -rw-r--r--. 1 root root 5286 Oct 3 20:51 00000000000000b3-00000000000000b3.ltx -rw-r--r--. 1 root root 5287 Oct 3 22:10 00000000000000b4-00000000000000b4.ltx -rw-r--r--. 1 root root 5298 Oct 4 01:09 00000000000000b5-00000000000000b5.ltx -rw-r--r--. 1 root root 5307 Oct 4 04:24 00000000000000b6-00000000000000b6.ltx -rw-r--r--. 1 root root 5307 Oct 4 08:55 00000000000000b7-00000000000000b7.ltx -rw-r--r--. 1 root root 5306 Oct 4 11:27 00000000000000b8-00000000000000b8.ltx -rw-r--r--. 1 root root 5309 Oct 4 14:31 00000000000000b9-00000000000000b9.ltx -rw-r--r--. 1 root root 5301 Oct 4 15:31 00000000000000ba-00000000000000ba.ltx -rw-r--r--. 1 root root 5330 Oct 4 16:31 00000000000000bb-00000000000000bb.ltx -rw-r--r--. 1 root root 5329 Oct 4 20:25 00000000000000bc-00000000000000bc.ltx -rw-r--r--. 1 root root 17926 Oct 4 21:06 00000000000000bd-00000000000000bd.ltx -rw-r--r--. 1 root root 5325 Oct 4 21:12 00000000000000be-00000000000000be.ltx -rw-r--r--. 1 root root 5325 Oct 4 21:55 00000000000000bf-00000000000000bf.ltx -rw-r--r--. 1 root root 17355 Oct 4 21:55 00000000000000c0-00000000000000c0.ltx -rw-r--r--. 1 root root 20891 Oct 4 21:56 00000000000000c1-00000000000000c1.ltx -rw-r--r--. 1 root root 5321 Oct 4 22:02 00000000000000c2-00000000000000c2.ltx -rw-r--r--. 1 root root 5321 Oct 4 22:04 00000000000000c3-00000000000000c3.ltx -rw-r--r--. 1 root root 20865 Oct 4 22:09 00000000000000c4-00000000000000c4.ltx -rw-r--r--. 1 root root 17464 Oct 4 22:09 00000000000000c5-00000000000000c5.ltx -rw-r--r--. 1 root root 5315 Oct 4 22:35 00000000000000c6-00000000000000c6.ltx -rw-r--r--. 1 root root 5322 Oct 4 22:42 00000000000000c7-00000000000000c7.ltx -rw-r--r--. 1 root root 5321 Oct 4 23:52 00000000000000c8-00000000000000c8.ltx -rw-r--r--. 1 root root 5326 Oct 5 00:38 00000000000000c9-00000000000000c9.ltx -rw-r--r--. 1 root root 5332 Oct 5 06:37 00000000000000ca-00000000000000ca.ltx -rw-r--r--. 1 root root 5329 Oct 5 10:33 00000000000000cb-00000000000000cb.ltx -rw-r--r--. 1 root root 5326 Oct 5 10:49 00000000000000cc-00000000000000cc.ltx -rw-r--r--. 1 root root 5326 Oct 5 13:10 00000000000000cd-00000000000000cd.ltx -rw-r--r--. 1 root root 20468 Oct 5 14:29 00000000000000ce-00000000000000ce.ltx -rw-r--r--. 1 root root 5326 Oct 5 15:09 00000000000000cf-00000000000000cf.ltx -rw-r--r--. 1 root root 5332 Oct 5 16:50 00000000000000d0-00000000000000d0.ltx -rw-r--r--. 1 root root 5331 Oct 5 17:22 00000000000000d1-00000000000000d1.ltx -rw-r--r--. 1 root root 5332 Oct 5 19:22 00000000000000d2-00000000000000d2.ltx -rw-r--r--. 1 root root 5326 Oct 5 22:37 00000000000000d3-00000000000000d3.ltx -rw-r--r--. 1 root root 7923 Oct 5 22:51 00000000000000d4-00000000000000d4.ltx -rw-r--r--. 1 root root 5322 Oct 5 22:54 00000000000000d5-00000000000000d5.ltx -rw-r--r--. 1 root root 7956 Oct 5 22:55 00000000000000d6-00000000000000d6.ltx -rw-r--r--. 1 root root 5325 Oct 6 02:50 00000000000000d7-00000000000000d7.ltx -rw-r--r--. 1 root root 5326 Oct 6 04:55 00000000000000d8-00000000000000d8.ltx -rw-r--r--. 1 root root 5330 Oct 6 09:49 00000000000000d9-00000000000000d9.ltx -rw-r--r--. 1 root root 5333 Oct 6 11:00 00000000000000da-00000000000000da.ltx -rw-r--r--. 1 root root 5333 Oct 6 17:14 00000000000000db-00000000000000db.ltx -rw-r--r--. 1 root root 5334 Oct 6 18:36 00000000000000dc-00000000000000dc.ltx -rw-r--r--. 1 root root 5334 Oct 6 23:23 00000000000000dd-00000000000000dd.ltx -rw-r--r--. 1 root root 5334 Oct 7 01:05 00000000000000de-00000000000000de.ltx -rw-r--r--. 1 root root 5334 Oct 7 09:41 00000000000000df-00000000000000df.ltx -rw-r--r--. 1 root root 5334 Oct 7 11:29 00000000000000e0-00000000000000e0.ltx -rw-r--r--. 1 root root 5334 Oct 7 16:47 00000000000000e1-00000000000000e1.ltx -rw-r--r--. 1 root root 5334 Oct 7 17:39 00000000000000e2-00000000000000e2.ltx -rw-r--r--. 1 root root 5334 Oct 7 22:34 00000000000000e3-00000000000000e3.ltx
S3 Bucket (Garage)[2025-10-07 18:34:52 EDT] 5.2KiB STANDARD 0000/00000000000000e3-00000000000000e3.ltx [2025-10-06 19:23:29 EDT] 5.2KiB STANDARD 0001/00000000000000dd-00000000000000dd.ltx [2025-10-06 21:05:59 EDT] 5.2KiB STANDARD 0001/00000000000000de-00000000000000de.ltx [2025-10-07 05:41:59 EDT] 5.2KiB STANDARD 0001/00000000000000df-00000000000000df.ltx [2025-10-07 07:30:29 EDT] 5.2KiB STANDARD 0001/00000000000000e0-00000000000000e0.ltx [2025-10-07 12:47:29 EDT] 5.2KiB STANDARD 0001/00000000000000e1-00000000000000e1.ltx [2025-10-07 13:39:59 EDT] 5.2KiB STANDARD 0001/00000000000000e2-00000000000000e2.ltx [2025-10-07 18:34:59 EDT] 5.2KiB STANDARD 0001/00000000000000e3-00000000000000e3.ltx [2025-10-06 19:24:59 EDT] 5.2KiB STANDARD 0002/00000000000000dd-00000000000000dd.ltx [2025-10-06 21:10:00 EDT] 5.2KiB STANDARD 0002/00000000000000de-00000000000000de.ltx [2025-10-07 05:44:59 EDT] 5.2KiB STANDARD 0002/00000000000000df-00000000000000df.ltx [2025-10-07 07:34:59 EDT] 5.2KiB STANDARD 0002/00000000000000e0-00000000000000e0.ltx [2025-10-07 12:49:59 EDT] 5.2KiB STANDARD 0002/00000000000000e1-00000000000000e1.ltx [2025-10-07 13:44:59 EDT] 5.2KiB STANDARD 0002/00000000000000e2-00000000000000e2.ltx [2025-10-07 18:39:59 EDT] 5.2KiB STANDARD 0002/00000000000000e3-00000000000000e3.ltx [2025-10-06 20:00:00 EDT] 5.2KiB STANDARD 0003/00000000000000dd-00000000000000dd.ltx [2025-10-06 22:00:00 EDT] 5.2KiB STANDARD 0003/00000000000000de-00000000000000de.ltx [2025-10-07 05:59:59 EDT] 5.2KiB STANDARD 0003/00000000000000df-00000000000000df.ltx [2025-10-07 08:00:00 EDT] 5.2KiB STANDARD 0003/00000000000000e0-00000000000000e0.ltx [2025-10-07 12:59:59 EDT] 5.2KiB STANDARD 0003/00000000000000e1-00000000000000e1.ltx [2025-10-07 13:59:59 EDT] 5.2KiB STANDARD 0003/00000000000000e2-00000000000000e2.ltx [2025-10-06 20:00:00 EDT] 498KiB STANDARD 0009/0000000000000001-00000000000000dd.ltx
## Configuration
litestream.yml
access-key-id:     {{ .S3_ID }}
secret-access-key: {{ .S3_KEY >>

dbs:
  - path: /root/db.sqlite3
    replicas:
      - type: s3
        endpoint: https://s3.example.com
        bucket: application
        path: database
        region: garage
        sync-interval: 5s
        retention: 168h

Logs

Log output

logs.txt

Additional Context

I can conduct experiments if needed but have been hesitant to because I have observed this with instances where I would prefer to avoid identifying corruption issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions