Skip to content

refine the exception message when keeper reaches soft memory limit#79670

Merged
hanfei1991 merged 3 commits intomasterfrom
hanfei/refine-keeper-oom-exception
Apr 29, 2025
Merged

refine the exception message when keeper reaches soft memory limit#79670
hanfei1991 merged 3 commits intomasterfrom
hanfei/refine-keeper-oom-exception

Conversation

@hanfei1991
Copy link
Copy Markdown
Member

Changelog category (leave one):

  • Not for changelog (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

...

Documentation entry for user-facing changes

  • Documentation is written (mandatory for new features)

@clickhouse-gh
Copy link
Copy Markdown
Contributor

clickhouse-gh bot commented Apr 28, 2025

Workflow [PR], commit [55966d9]

@clickhouse-gh clickhouse-gh bot added the pr-not-for-changelog This PR should not be mentioned in the changelog label Apr 28, 2025
Copy link
Copy Markdown
Member

@GrigoryPervakov GrigoryPervakov left a comment

Choose a reason for hiding this comment

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

LGTM except failed test

@hanfei1991 hanfei1991 added the pr-must-backport Pull request should be backported intentionally. Use this label with great care! label Apr 29, 2025
@hanfei1991 hanfei1991 added this pull request to the merge queue Apr 29, 2025
Merged via the queue into master with commit e4b0ea7 Apr 29, 2025
117 of 119 checks passed
@hanfei1991 hanfei1991 deleted the hanfei/refine-keeper-oom-exception branch April 29, 2025 20:42
@robot-ch-test-poll robot-ch-test-poll added the pr-synced-to-cloud The PR is synced to the cloud repo label Apr 29, 2025
robot-ch-test-poll4 added a commit that referenced this pull request Apr 29, 2025
Cherry pick #79670 to 25.4: refine the exception message when keeper reaches soft memory limit
robot-clickhouse added a commit that referenced this pull request Apr 29, 2025
hanfei1991 added a commit that referenced this pull request Apr 29, 2025
Backport #79670 to 25.4: refine the exception message when keeper reaches soft memory limit
hanfei1991 added a commit that referenced this pull request Apr 29, 2025
Cherry pick #79670 to 25.2: refine the exception message when keeper reaches soft memory limit
hanfei1991 added a commit that referenced this pull request Apr 29, 2025
Cherry pick #79670 to 25.3: refine the exception message when keeper reaches soft memory limit
robot-clickhouse added a commit that referenced this pull request Apr 29, 2025
robot-clickhouse added a commit that referenced this pull request Apr 29, 2025
@robot-ch-test-poll1 robot-ch-test-poll1 added the pr-backports-created-cloud deprecated label, NOOP label Apr 29, 2025
@robot-clickhouse robot-clickhouse added the pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore label Apr 29, 2025
hanfei1991 added a commit that referenced this pull request Apr 30, 2025
Backport #79670 to 25.2: refine the exception message when keeper reaches soft memory limit
hanfei1991 added a commit that referenced this pull request Apr 30, 2025
Backport #79670 to 25.3: refine the exception message when keeper reaches soft memory limit
@robot-clickhouse robot-clickhouse added the pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR label Jul 2, 2025

txn.create("/test_soft_limit/node_1000001" + str(i), b"abcde")
txn.commit()
assert "0\n" == node.query("select sum(ProfileEvent_ZooKeeperHardwareExceptions) from system.metric_log")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@hanfei1991 Why it should be 0? This test fails in one of my PRs, and I started to look into it, besides it does not work locally, since the session cannot be established with such small amount of RAM (no clue why it works on CI yet)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Maybe it was 0 due to lack of missing flush, anyway - 97e95fa

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-backports-created Backport PRs are successfully created, it won't be processed by CI script anymore pr-backports-created-cloud deprecated label, NOOP pr-must-backport Pull request should be backported intentionally. Use this label with great care! pr-must-backport-synced The `*-must-backport` labels are synced into the cloud Sync PR pr-not-for-changelog This PR should not be mentioned in the changelog pr-synced-to-cloud The PR is synced to the cloud repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants