diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-22 14:01:03 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-22 14:01:03 -0300 |
| commit | 85e793ae92683808d14433cb7c99ccdab4c967dc (patch) | |
| tree | 65aad3f6c0bb94f27e462ab3e75a55dad6112dd4 /core/replica.zig | |
| parent | 8caed8e7d894fee836c95f2ca83fda9b22e1db84 (diff) | |
| download | pardes-85e793ae92683808d14433cb7c99ccdab4c967dc.tar.gz pardes-85e793ae92683808d14433cb7c99ccdab4c967dc.zip | |
daemon.py: a terminal read after its writer ended waits for its last bytes, kept_views waits for the session to take the goodbyes it races, and far_flood keeps its evidence (pardes-term-join-9, item 1 (b), (a), (c)): `Term.last` reads a terminal's text once nothing waits on its master (FIONREAD, read under the reader's lock, which now reads and keeps in one hold) and nothing more came for 0.1 s, and the four reads that followed an exit or an event seen elsewhere at once use it (clients' detach words, the failing row R-plain-2 at load 7.6; a killed stub's put-back; "let this client go" not said, a negative that passed early; the old build's replica told to upgrade too); kept_views dials again until a refusal says a view is kept (two raw replicas' byes reach the session on their own connections and the next join through the daemon, in no order the session could keep: D-plain-3 and R-plain-1 of round 8) and waits the seconds that refusal states, not a fixed 31 from before the goodbyes were taken; far_flood copies the far client's check and stats files, its terminal and every process's threads with their wait channels beside its root at any failure (R--far-6 of round 8, not reproduced in 13 runs since, went with its root)
Co-Authored-By: Claude Opus <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBECMWcJD5pdS4SR6T
Diffstat (limited to 'core/replica.zig')
0 files changed, 0 insertions, 0 deletions
