]> 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, 5 Sep 2026 04:04:14 +0000 (00:04 -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>
src/bees-config-v2.cc

index b9b2da058de62d3ab4109c107909fe4810c85ef0..7fd1da30aa0f432af6212441c04a3b187c4fe501 100644 (file)
@@ -263,6 +263,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]