Skip to content

ZOOKEEPER-4920: Fix flaky test ZooKeeperServerMaxCnxnsTest #2249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kezhuw
Copy link
Member

@kezhuw kezhuw commented Apr 20, 2025

The restriction of maxCnxns may not be accurate due to concurrent races, say concurrent accepting. This is totally fine and not worth to make it accurate due to possible negative effects.

This commit circumvents this by connecting to each server maxCnxns times.

The restriction of maxCnxns may not be accurate due to concurrent races,
say concurrent accepting. This is totally fine and not worth to make it
accurate due to possible negative effects.

This commit circumvents this by connecting to each server maxCnxns times.
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