Skip to content

Conversation

pauloricardomg
Copy link
Contributor

Thanks for sending a pull request! Here are some tips if you're new here:

  • Ensure you have added or run the appropriate tests for your PR.
  • Be sure to keep the PR description updated to reflect all changes.
  • Write your PR title to summarize what this PR proposes.
  • If possible, provide a concise example to reproduce the issue for a faster review.
  • Read our contributor guidelines
  • If you're making a documentation change, see our guide to documentation contribution

Commit messages should follow the following format:

<One sentence description, usually Jira title or CHANGES.txt summary>

<Optional lengthier description (context on patch)>

patch by <Authors>; reviewed by <Reviewers> for CASSANDRA-#####

Co-authored-by: Name1 <email1>
Co-authored-by: Name2 <email2>

The Cassandra Jira

@pauloricardomg pauloricardomg changed the base branch from trunk to cassandra-5.0 October 10, 2025 19:08
Copy link
Contributor

@isaacreath isaacreath left a comment

Choose a reason for hiding this comment

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

+1 (nb). Comment is pretty minor.

{
try
{
if (DatabaseDescriptor.getDumpHeapOnUncaughtException())
Copy link
Contributor

Choose a reason for hiding this comment

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

A comment could be helpful here so it's clear why we check DatabaseDescriptor.getDumpHeapOnUncaughtException() outside of HeapUtils.maybeCreateHeapDump so that nobody accidentally deletes this check thinking it's redundant.

@smiklosovic smiklosovic self-requested a review October 12, 2025 18:48
Patch by Paulo Motta; Reviewed by Isaac Reath, Stefan Miklosovic for CASSANDRA-20974
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.

3 participants