Data lost when disk is full

未关闭
#58 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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
  1. have the graph on a full disk
  2. edit something
Expected Behavior

no data loss. this should be a solved problem in software development

Screenshots
Image
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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

logseq/og 的其他 Issue

查看 logseq/og 的全部 Issue

相似的 Issue

更多 Clojure Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。