Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pageserver: set
SO_KEEPALIVE
on the page service socket (#10992)
## Problem If the client connection goes dead without an explicit close (e.g. due to network infrastructure dropping the connection) then we currently won't detect it for a long time, which may e.g. block GetPage flushes and keep the task running. Touches neondatabase/cloud#23515. ## Summary of changes Enable `SO_KEEPALIVE` on the page service socket, to enable periodic TCP keepalive probes. These are configured via Linux sysctls, which will be deployed separately. By default, the first probe is sent after 2 hours, so this doesn't have a practical effect until we change the sysctls.
- Loading branch information
86b9703
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
7896 tests run: 7506 passed, 0 failed, 390 skipped (full report)
Flaky tests (3)
Postgres 17
test_tx_abort_with_many_relations[v2]
: release-x86-64-with-lfc, release-arm64-without-lfctest_timeline_copy[100000]
: release-x86-64-with-lfcCode coverage* (full report)
functions
:32.8% (8638 of 26347 functions)
lines
:48.6% (73111 of 150346 lines)
* collected from Rust tests only
86b9703 at 2025-02-26T17:47:14.717Z :recycle: