From: Anderson A. Giacomolli Date: Fri, 6 Nov 2026 15:04:10 +0000 (-0300) Subject: Write each line to the OS without an fsync X-Git-Url: https://git.giacomolli.uk/onechat/commitdiff_plain/4e3341f81d4c9b296c8fd016f4a086752d561efd?ds=inline;hp=4e3341f81d4c9b296c8fd016f4a086752d561efd Write each line to the OS without an fsync Each log line and each node goes to the operating system with one write and no buffer before the call returns, so a crash of the process loses nothing. view.json stays atomic through a temporary file and a rename. An fsync on each write cost about 96 ms per message on a typical disk, which made a long replay take hours. Durability against a power loss is a later group commit, with one background sync that makes all earlier writes durable. Issue: beb9a70 ---