Data lost when disk is full

Offen
#58 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
45/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Bereich
backend

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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!)
Vorherrschende Sprache
Clojure
Sterne
355
Forks
72
Ø Merge
1 Std. 5 Min.
Gemergte PRs (30 T.)
6

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus logseq/og

Alle Issues in logseq/og

Ähnliche Issues

Weitere Issues zu Clojure

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.