Skip to content

Add keepAliveTime machenism to evict expired RPC clients#11941

Merged
OneSizeFitsQuorum merged 10 commits intoapache:masterfrom
Pengzna:client-process
Jan 22, 2024
Merged

Add keepAliveTime machenism to evict expired RPC clients#11941
OneSizeFitsQuorum merged 10 commits intoapache:masterfrom
Pengzna:client-process

Conversation

@Pengzna
Copy link
Copy Markdown
Collaborator

@Pengzna Pengzna commented Jan 21, 2024

sub task of #11949

  1. Add eviction thread to evict clients that are idle more than 1 minute.
  2. Merge core_client_num and max_client_num params, only remain max_client_num
  3. Add eviction UT

Detailed docs: https://timechor.feishu.cn/docx/GJYjd1vuYoxQr8xNJejcC7Q6nTc

OneSizeFitsQuorum

This comment was marked as outdated.

# Conflicts:
#	iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/conf/CommonConfig.java
Copy link
Copy Markdown
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OneSizeFitsQuorum OneSizeFitsQuorum changed the title Fix RPC-processor increase exception Add the ability for ClientManager to periodically clean up idle objects Jan 22, 2024
@OneSizeFitsQuorum OneSizeFitsQuorum merged commit 9e05b26 into apache:master Jan 22, 2024
@OneSizeFitsQuorum OneSizeFitsQuorum changed the title Add the ability for ClientManager to periodically clean up idle objects Add keepAliveTime machenism to evict expired RPC clients Jan 22, 2024
@Pengzna Pengzna deleted the client-process branch June 18, 2025 14:13
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.

2 participants