]> git.giacomolli.uk - onechat/commitdiff
Keep a built leaf when the view lags the tree
authorAnderson A. Giacomolli <redacted>
Fri, 6 Nov 2026 21:53:34 +0000 (18:53 -0300)
committerAnderson A. Giacomolli <redacted>
Fri, 6 Nov 2026 21:53:34 +0000 (18:53 -0300)
A chat opens again after a crash between the build of a free leaf and
the save of the view. The catch-up adds the messages that the view does
not cover, and it now keeps a leaf that the tree holds already instead
of a second build of it, which the tree refuses as a duplicate. The
parent of such a leaf is settled at the start, with the other built
nodes.

A process that is killed during writes then opens again, so the log
loses no message that it acknowledged.

Issue: 5daf23e


No differences found