Skip to content

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #26377

Lazin added 3 commits June 11, 2025 08:32
to the base_transport. The method allows us to propagate the keepalive
parameters to the underlying TCP socket.

Signed-off-by: Evgeny Lazin <[email protected]>
(cherry picked from commit e90b086)
The method enables keepalive timer on a socket.

Signed-off-by: Evgeny Lazin <[email protected]>
(cherry picked from commit 33ab6a2)
The http client can potentially deadlock waiting for data from the
connection. If for some reason the connection was dropped and the RST
packet wasn't propagated the `recv_some` call in the http client will be
blocked for arbitrary amount of time (in some cases the middleware could
detect this and send the RST packet later).

If the keepalive is enabled we should send the proble after the idle
time (set to 5m by this commit). The defaults are chosen to be slightly
higher compared to our defaults for Kafka.

Signed-off-by: Evgeny Lazin <[email protected]>
(cherry picked from commit df82911)
@vbotbuildovich vbotbuildovich added this to the v24.2.x-next milestone Jun 11, 2025
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jun 11, 2025
@vbotbuildovich vbotbuildovich requested a review from Lazin June 11, 2025 08:32
@vbotbuildovich
Copy link
Collaborator Author

CI test results

test results on build#67161
test_class test_method test_arguments test_kind job_url test_status passed reason
gtest_raft_rpunit gtest_raft_rpunit unit https://buildkite.com/redpanda/redpanda/builds/67161#01975e20-11d5-4408-a439-480819acffae FLAKY 1/2
PartitionReassignmentsTest test_add_partitions_with_inprogress_reassignments ducktape https://buildkite.com/redpanda/redpanda/builds/67161#01975e69-d771-42c6-a523-62394aaf43e6 FLAKY 18/21 upstream reliability is '100.0'. current run reliability is '85.71428571428571'. drift is 14.28571 and the allowed drift is set to 50. The test should PASS

@Lazin Lazin merged commit 764445c into redpanda-data:v24.2.x Jun 11, 2025
18 checks passed
@piyushredpanda piyushredpanda modified the milestones: v24.2.x-next, v24.2.25 Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/redpanda kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants