Parcourir la source

release: 2.20.1 - streaming snapshot writer (bug fix, server only)

Also records the owner's policy: bug fixes may be released to apt at any time.
fszontagh il y a 1 mois
Parent
commit
5cd62288bd
4 fichiers modifiés avec 9 ajouts et 4 suppressions
  1. 6 1
      CHANGELOG.md
  2. 0 0
      CLAUDE.md
  3. 1 1
      VERSION
  4. 2 2
      docs/ROADMAP.md

+ 6 - 1
CHANGELOG.md

@@ -11,6 +11,8 @@ Per-release detail (design, measurements, revert evidence) stays in `CLAUDE.md`;
 consumer-facing usage is in `docs/integration-guide.md`.
 
 ## Unreleased
+
+## 2.20.1 - 2026-10-19 (bug fix, server only)
 ### Fixed
 - **[server]** ⚠ A snapshot held the whole store in memory twice more: the
   serialised body, a compressed copy beside it, and a copy of each collection's
@@ -18,7 +20,10 @@ consumer-facing usage is in `docs/integration-guide.md`.
   the WAL was never truncated, and recovery grew with it until the server could
   no longer boot. The writer now streams to disk a chunk at a time; a snapshot
   adds a few tens of MB to memory whatever the store's size. The file format is
-  unchanged (older servers read the new files and the reverse).
+  unchanged (older servers read the new files and the reverse). This removes
+  the cause, not the failure mode: boot still holds the whole dataset in
+  memory, so a large WAL left by anything else (a crash, a long stop, a full
+  disk) can still keep a small host from booting (ROADMAP 5e).
 ### Added
 - **[server]** A snapshot that never finished (the process was killed while
   writing it) is reported at the next boot as an ERROR, with the WAL size and

Fichier diff supprimé car celui-ci est trop grand
+ 0 - 0
CLAUDE.md


+ 1 - 1
VERSION

@@ -1 +1 @@
-2.20.0
+2.20.1

+ 2 - 2
docs/ROADMAP.md

@@ -131,7 +131,7 @@ detail and the failure modes.
 - REGEX filters on RE2: linear time, UTF-8 character classes, `(?i)`, an
   invalid pattern refused with `invalid_pattern` (2.20.0)
 - Snapshots stream to disk: the writer's memory peak is a chunk, not the
-  store; a snapshot killed mid-write is reported at the next boot (Unreleased)
+  store; a snapshot killed mid-write is reported at the next boot (2.20.1)
 
 ---
 
@@ -369,7 +369,7 @@ A production instance on a 2 GB host could not boot: recovery loads the
 snapshot and replays the WAL into MemoryStore, which holds every document,
 and the boot was killed with ~1.5 GB anonymous memory before READY (measured
 with swap: ~1.7 GB at least, during init). The streaming snapshot writer
-(Unreleased) removes the condition that grew the WAL without bound, but a large
+(2.20.1) removes the condition that grew the WAL without bound, but a large
 WAL after an unrelated crash, or a store that simply outgrows the host, still
 cannot boot. Cheaper steps first: stream the snapshot LOAD as the writer now
 streams the write (it still holds the decompressed body during

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff