Skip to content
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

add ephemeral node creation throttled log message #119

Merged

Conversation

GrantPSpencer
Copy link

@GrantPSpencer GrantPSpencer commented Feb 6, 2024

Description

Add log message when server throttles ephemeral node creation due to byte limit exceeded.

Tests

2024-02-06 11:27:02,455 [myid:] - ERROR [ProcessThread(sid:4 cport:-1)::o.a.z.s.PrepRequestProcessor@725] - Rejecting ephemeral node creation for session 288232840712159232, zxid 4294967343, path /ephemeral-throttling-test-leader-0000000041.
2024-02-06 11:27:12,904 [myid:] - ERROR [ProcessThread(sid:4 cport:-1)::o.a.z.s.PrepRequestProcessor@725] - Rejecting ephemeral node creation for session 2465340325888, zxid 4294967385, path /ephemeral-throttling-test-leader-0000000082.

Changes that Break Backward Compatibility (Optional)

N/A

Documentation (Optional)

N/A

> ZooKeeperServer.getEphemeralNodesTotalByteLimit()) {
LOG.error(String.format("Rejecting ephemeral node creation for session %s, zxid %s, path %s.",
Copy link
Collaborator

Choose a reason for hiding this comment

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

this may flood out logs. Let's do a controlled rollout for this.

@rahulrane50 rahulrane50 merged commit 32db64e into linkedin:branch-3.6 Feb 8, 2024
8 checks passed
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.

None yet

3 participants