beads/internal/doltserver
Steve Yegge a768035af5 fix(doltserver): gate corrupt-manifest .dolt reinit behind explicit bd doctor --fix (bd-6dnrw.6)
PR 3327 shipped beads-side crash recovery that string-matches the dolt
server log tail and, on a start failure, backed up and REINITIALIZED the
.dolt directory in place automatically — a destructive path that was never
reproduced locally and violates the charter storage boundary.

The server start path now only detects the GH#3290 condition (signature in
log tail + provably-empty journal/oldgen) and points at bd doctor --fix in
the start-failure error. The repair itself moved behind an explicit doctor
fix: a new 'Corrupt Manifest' check reports affected databases, and the
fix dispatcher runs the backup+reinit only after the user's per-fix
confirmation prompt (or --yes).

Both log signatures verified present in the pinned dolt source
(store/datas/database_common.go, store/nbs/journal_record.go ErrJournalDataLoss).
Driver-side migration of the log scraping tracked as bd-qo452.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-11 00:30:13 -04:00
..
dirty_state_test.go test: add multi-process concurrency and server lifecycle integration tests 2026-03-22 15:01:45 -07:00
doltserver.go fix(doltserver): gate corrupt-manifest .dolt reinit behind explicit bd doctor --fix (bd-6dnrw.6) 2026-06-11 00:30:13 -04:00
doltserver_test.go fix(init): surface marker write failures 2026-05-21 22:55:27 +00:00
doltserver_unix.go /{cmd,internal}: get debug mode working 2026-05-19 11:48:10 -07:00
doltserver_windows.go fix: Windows compatibility for doltserver package 2026-02-24 13:17:23 -05:00
lifecycle_integration_test.go Add PR CI wrapper command surface (#4211) 2026-05-29 18:52:53 -07:00
logrotate.go fix(doltserver): rotate dolt-server.log at startup to cap size (#3161) 2026-04-10 21:52:37 -07:00
logrotate_test.go fix(doltserver): rotate dolt-server.log at startup to cap size (#3161) 2026-04-10 21:52:37 -07:00
manifest_recovery.go fix(doltserver): gate corrupt-manifest .dolt reinit behind explicit bd doctor --fix (bd-6dnrw.6) 2026-06-11 00:30:13 -04:00
manifest_recovery_test.go fix(doltserver): gate corrupt-manifest .dolt reinit behind explicit bd doctor --fix (bd-6dnrw.6) 2026-06-11 00:30:13 -04:00
port_race_test.go test: add multi-process concurrency and server lifecycle integration tests 2026-03-22 15:01:45 -07:00
servermode.go fix: treat --shared-server as server mode for DoltMode (#2947) 2026-04-02 11:52:20 -07:00
socket_integration_test.go Add PR CI wrapper command surface (#4211) 2026-05-29 18:52:53 -07:00