]> git.hungrycats.org Git - bees/commitdiff
bees-config-v2: flip default for state.point.defer to yes
authorZygo Blaxell <bees@furryterror.org>
Wed, 22 Jul 2026 05:34:09 +0000 (01:34 -0400)
committerZygo Blaxell <bees@furryterror.org>
Sat, 10 Oct 2026 19:00:04 +0000 (15:00 -0400)
This is more correct than allowing the two checkpoints to get out of
sync by hours; however, it's a departure from v0.11 behavior.

Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Assisted-by: Claude-Code:claude-opus-5-5
src/bees-config-v2.cc

index 1362461b20fd4f79a230936f13114dfb40e0ecfe..357fed8607c639a04e41abf476f410422675a322 100644 (file)
@@ -106,6 +106,12 @@ static const char bees_config_v2[] = R"--v2-config--(
 
 [state]
 
+[state.point]
+
+        # Defer crawl checkpoint writes until the hash table writeback has
+        # flushed all extents to disk that were modified since the checkpoint update.
+        defer = yes
+
 # The [scan.subvol] section controls legacy subvol scanners (scan modes 0-3).
 
 [scan.subvol]