The Dolt stats subdatabase at .dolt/stats/.dolt/noms/LOCK was causing "cannot update manifest: database is read only" errors after crashes. Changes: - cleanupStaleDoltLock now also cleans stats and oldgen subdatabase LOCKs - Add dolt_stats_stop() call to fully stop stats background worker - Set dolt_stats_auto_refresh_interval=0 to prevent stats restart Fixes bd-dolt.1 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> Executed-By: mayor Role: mayor
24 KiB
24 KiB