Data lost when disk is full
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 领域
- backend
调研方向
The issue reports journal edits being written as 0KB files when the disk is full, with an ENOSPC error; it does not name the relevant source or test files. Start by tracing the journal file write path and its error handling, then look for tests covering failed writes. Done means a full disk no longer destroys the previous journal contents.
由索引模型根据 Issue 内容生成。
描述
Search first
- I searched and no similar issues were found
What Happened?
When the disk is full and the user edits the text in journal, it saves the files with no content (0KB). All previous input data is lost!
Reproduce the Bug
- have the graph on a full disk
- edit something
Expected Behavior
no data loss. this should be a solved problem in software development
Screenshots
Desktop or Mobile Platform Information
Logseq 1.0.0 (AppImage)
NixOS 26.05.13375.9bb52223f4f6
Additional Context
Error:
Write to the file /home/davidak/info/notes-logseq/journals/2026_11_10.md failed, Error: ENOSPC: no space left on device, write
Are you willing to submit a PR? If you know how to fix the bug.
- I'm willing to submit a PR (Thank you!)
- 主要语言
- Clojure
- 星标
- 355
- 派生
- 72
- 平均合并
- 1 小时 5 分钟
- 30 天内合并 PR
- 6
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
logseq/og 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
-
难度 4/5 3-5 天 新手友好度 43/100
-
难度 4/5 3-5 天 新手友好度 62/100
-
难度 3/5 1-2 天 新手友好度 76/100
-
难度 3/5 1-2 天 新手友好度 55/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
clojure-emacs/cider#4235 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
needs triage
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
Server logs every websocket send at DEBUG since #8844, adding lag under load可能已有人在做 @matthewlehew 于 2 天前认领。 未关闭
难度 1/5 1 小时以内 新手友好度 82/100
维护者通常 1 天内回复
-
.Team/Graphy
难度 2/5 1-3 小时 新手友好度 74/100
metabase/metabase#87741 · 1 条评论 ·
维护者通常 1 天内回复