ClickHouse / ClickHouse/ClickHouse

close rpc call in native protocol

Open
#31,468 5 comments 1 reaction 0 assignees View on GitHub
comp-protocols easy task external feature help wanted
Dominant language
C++
Stars
49.9k
Forks
9k
Avg merge
21h 32m
Merged PRs (30d)
515

Description

Frequent connections are odd, but used in real life.
Closing connection from client side leaves client socket in TIME_WAIT state, which in heavy load cases leads to outgoing port pool exhaust.

Adding "close" rpc call to protocol for asking server to close connection will be useful in this case.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.