Skip to content

Soften ok = setopts nopush matches in osiris_replica_reader - #228

Merged
kjnilsson merged 1 commit into
mainfrom
setops-ignore
Aug 4, 2026
Merged

Soften ok = setopts nopush matches in osiris_replica_reader#228
kjnilsson merged 1 commit into
mainfrom
setops-ignore

Conversation

@kjnilsson

Copy link
Copy Markdown
Contributor

Setting TCP_NOPUSH can fail with EINVAL on an already-broken replica->writer socket (e.g. writer node restarting under load, observed on macOS). The hard ok = match crash-looped the replica reader, keeping streams below quorum+1 and hanging await_online_quorum_plus_one during rolling restarts. nopush is only a latency hint, so ignore setopts failures here as the error branch already does, and let the reader tear down/reconnect normally.

Setting TCP_NOPUSH can fail with EINVAL on an already-broken
replica->writer socket (e.g. writer node restarting under load,
observed on macOS). The hard ok = match crash-looped the replica
reader, keeping streams below quorum+1 and hanging
await_online_quorum_plus_one during rolling restarts. nopush is
only a latency hint, so ignore setopts failures here as the error
branch already does, and let the reader tear down/reconnect
normally.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@mergify

mergify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@kjnilsson
kjnilsson merged commit 82a72dd into main Aug 4, 2026
5 checks passed
@kjnilsson
kjnilsson deleted the setops-ignore branch August 4, 2026 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant