Skip to content

Commit 75ff8b7

Browse files
committed
docs(server): say how long writes wait during the online database copy
1 parent 923309a commit 75ff8b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/serviceLauncher.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ async function copyWithoutOpening(source: string, destination: string): Promise<
266266
// Copies the main file while the server runs; an open read transaction stops SQLite resetting the WAL,
267267
// which `finish` copies after the stop and which overrides any page the copy caught mid-checkpoint.
268268
// `-shm` is left out: its backfill count would make SQLite trust those pages. Past the WAL size gate,
269-
// a write-heavy server's writes stall until the copy ends.
269+
// a write-heavy server's new writes wait, uncommitted, until the server stops.
270270
async function startOnlineDatabaseBackup(
271271
baseDir: string,
272272
pending: PendingServiceUpdate,

0 commit comments

Comments
 (0)