Skip to content

ZOOKEEPER-5015: Add admin server command to shed client connections by percentage#2352

Open
li4wang wants to merge 1 commit intoapache:masterfrom
li4wang:ZOOKEEPER-5015
Open

ZOOKEEPER-5015: Add admin server command to shed client connections by percentage#2352
li4wang wants to merge 1 commit intoapache:masterfrom
li4wang:ZOOKEEPER-5015

Conversation

@li4wang
Copy link
Contributor

@li4wang li4wang commented Jan 28, 2026

This PR added a new admin server command to gracefully shed client connections by percentage for load management and maintenance operations.

  • added a ShedConnectionsCommand to the Commands class
  • added ShedConnections() API to ServerCnxnFactorty to shed connections based on percentage and probability
  • added tests

…y percentage

Author: Li Wang<liwang@apple.com>
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