Burst edits: revision replicated before its chunk; receiver logs "Load failed" and never retries (1.0.30)

Author: shauntcookeCreated Sep 28, 2026Updated Sep 28, 2026

Summary

When one file is changed twice within a second on device A, device B (LiveSync mode) sometimes never writes the new content to disk. B's log shows the revision arriving before its chunk, the read failing, and no retry. The file on B stays one version behind until the file is edited again on A, or B is restarted.

We have seen two variants:

  • A, chunk arrives late: restarting B fixes it.
  • B, chunk appears never to arrive: restarting B does not fix it, even twice over three minutes; B logs "Cloud not read" for the file. A further edit on A (which re-sends chunks) fixes it within seconds. (Our remote uses E2EE, so we could not inspect the chunk directly.)

Environment

  • Self-hosted LiveSync 1.0.30 on both devices
  • Obsidian 1.13.7: sender macOS desktop; receiver Linux desktop (Debian 13, headless under Xvfb)
  • CouchDB 3.5.0, self-hosted
  • Sync mode LiveSync on both. E2EE v2, path obfuscation and "Obfuscate Properties" on
  • Chunk splitter v3-rabin, customChunkSize 60, hashAlg xxhash64, savingDelay 200, syncMinimumInterval 2000, batchSave off
  • Receiver: readChunksOnline true (also tested false: same result). Sender: useTimeouts true

Steps to reproduce

  1. Both devices syncing, LiveSync mode.
  2. On device A, change one note twice, well under a second apart, from outside the editor (in our case two file edits sent together by a script).
  3. Compare the file on device B after 30 to 60 seconds.

Happened every time we tried (5 of 5). Single edits, and simultaneous edits to different files, have always synced in our testing.

What happens (device B log; long lines were cut off in our capture)

Some requested chunks were not found in the remote
No valid chunks were found for the following IDs …
Something went wrong on reading 00-meta/g33-test…
Error:Load failed
[StackTrace]: _LiveSyncError: [Error Logged]: Load failed
    at respondEntryFromMeta … at getDBEntryFromMeta … at EntryManager.getDBEntryFromMeta …
[ReplicateResultProcessor] Failed to gather conte…
Writing fetched chunks (1) to the database...

A chunk is written in the same second, but the failed entry is not processed again.

Variant B, B's log at start-up after a restart:

[SF:OfflineScanner] … STORAGE <- DB : Cloud not read <path>
Not all files could be synchronised. …

Checked and ruled out: no conflicts on the document (single leaf revision in CouchDB); clocks within 0.2 s (both NTP); skipOlderFilesOnSync (B's file carries A's mtime).

Expected

Either the sender makes sure a revision's chunks are in the remote before (or with) the revision, or the receiver retries an entry that failed for missing chunks once they arrive.

Workaround we use

A server-side job restarts the receiver when a document gains 2+ revisions between checks (fixes variant A), and watches the receiver's log file for "Cloud not read" (variant B, which needs a new edit on the sender).

Possibly related: #1207, #750.

Source: vrtmrz/obsidian-livesync