lif and GitHub
c49015552c
bisync: fix handling of unreadable lockfiles - fixes #9290
...
Lockfiles with invalid JSON content caused bisync to fail permanently
because lockFileIsExpired() logged the decode error but still fell
through to the "valid lock file" path with zero-value TimeExpires.
Now when a JSON decode error is detected:
- If --max-lock is set (< basicallyforever): treat garbled lockfile as
expired, mark listings failed, and proceed (safe assumption: the
previous bisync run crashed and left garbage).
- If --max-lock is not set (default): log a clear error telling the
user the lockfile needs manual inspection, and return false.
2026-03-31 10:56:28 +01:00
..
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2026-02-20 16:27:17 +00:00
2025-11-04 21:56:01 +01:00
2026-01-30 17:08:44 +00:00
2025-11-21 17:10:17 +00:00
2026-03-11 11:26:16 +00:00
2026-01-30 20:53:56 +00:00
2026-01-30 20:53:56 +00:00
2025-11-24 15:46:41 +00:00
2026-03-31 10:56:28 +01:00
2025-11-21 17:10:17 +00:00
2025-07-21 20:23:16 +02:00
2026-01-30 17:08:44 +00:00
2026-03-23 23:03:59 +00:00
2026-01-30 17:08:44 +00:00
2025-11-04 21:56:01 +01:00
2025-11-04 21:56:01 +01:00
2026-01-30 17:08:44 +00:00
2025-08-26 12:04:00 +02:00
2025-11-21 17:10:17 +00:00
2025-11-01 15:52:41 +01:00
2026-02-26 12:00:56 +00:00
2026-01-30 20:53:56 +00:00
2026-03-28 12:29:53 +00:00
2026-01-30 20:53:56 +00:00
2026-01-30 20:53:56 +00:00
2025-11-04 21:56:01 +01:00
2026-01-23 16:55:52 +00:00
2025-11-04 21:56:01 +01:00
2025-11-21 17:10:17 +00:00
2025-11-26 12:22:48 +00:00
2026-03-20 15:26:20 +00:00
2025-11-04 21:56:01 +01:00
2025-11-01 15:33:38 +01:00
2026-01-30 20:53:56 +00:00
2026-01-08 16:31:11 +00:00
2025-11-04 21:56:01 +01:00
2026-01-30 20:53:56 +00:00
2026-01-27 13:48:12 +00:00
2025-11-01 15:33:38 +01:00
2026-01-30 17:08:44 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 17:08:44 +00:00
2025-11-04 21:56:01 +01:00
2026-02-18 11:33:48 +00:00
2023-11-28 19:10:04 +00:00
2025-11-04 21:56:01 +01:00
2026-01-30 17:08:44 +00:00
2026-03-20 23:33:27 +01:00
2023-09-11 12:28:23 +01:00
2025-11-21 17:10:17 +00:00
2025-07-21 20:23:16 +02:00
2025-11-04 21:56:01 +01:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2026-01-30 17:08:44 +00:00
2025-12-17 15:13:25 +00:00
2025-11-21 17:10:17 +00:00
2025-11-04 21:56:01 +01:00
2025-11-04 21:56:01 +01:00
2025-10-14 16:24:07 +01:00
2026-01-30 17:08:44 +00:00
2025-11-04 21:56:01 +01:00
2025-11-21 17:10:17 +00:00
2025-11-04 21:56:01 +01:00
2026-01-30 20:53:56 +00:00
2025-11-01 15:33:38 +01:00
2025-11-01 18:54:19 +01:00
2026-03-14 22:18:43 +00:00
2025-11-21 17:10:17 +00:00
2026-01-08 16:31:11 +00:00
2026-01-30 20:53:56 +00:00
2025-11-21 17:10:17 +00:00
2025-11-04 21:56:01 +01:00
2025-11-04 21:56:01 +01:00
2026-02-12 14:08:20 +00:00
2025-11-21 17:10:17 +00:00
2025-11-04 21:56:01 +01:00
2026-01-30 20:53:56 +00:00
2026-01-30 17:08:44 +00:00
2025-11-04 21:56:01 +01:00
2025-11-04 21:56:01 +01:00
2025-11-21 17:10:17 +00:00
2025-11-04 21:56:01 +01:00
2025-11-21 17:10:17 +00:00